Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009108/0.009108, allocations: 101.7 kB / 15.73 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 189.1 kB / 16.67 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.466/2.466, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.91 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8575/0.8589, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01255/0.8715, allocations: 10.09 MB / 1.176 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006447/0.878, allocations: 3.17 MB / 1.179 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.879, allocations: 39.75 kB / 1.179 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.8812, allocations: 0.5964 MB / 1.18 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.8832, allocations: 0.7817 MB / 1.18 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.8852, allocations: 0.733 MB / 1.181 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003547/0.8888, allocations: 2.996 MB / 1.184 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00326/0.8921, allocations: 2.612 MB / 1.187 GB, free: 14.63 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.8941, allocations: 1.262 MB / 1.188 GB, free: 13.37 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.8965, allocations: 1.554 MB / 1.189 GB, free: 11.81 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004306/0.897, allocations: 236 kB / 1.19 GB, free: 11.58 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.8981, allocations: 0.4994 MB / 1.19 GB, free: 11.08 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.8992, allocations: 1.072 MB / 1.191 GB, free: 10 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.9006, allocations: 1.109 MB / 1.192 GB, free: 8.891 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003702/0.9043, allocations: 3.689 MB / 1.196 GB, free: 5.191 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.9044, allocations: 3.938 kB / 1.196 GB, free: 5.188 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9044, allocations: 0 / 1.196 GB, free: 5.188 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.916e-05/0.9044, allocations: 4 kB / 1.196 GB, free: 5.184 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004332/0.9088, allocations: 2.134 MB / 1.198 GB, free: 2.992 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.9088, allocations: 16.92 kB / 1.198 GB, free: 2.977 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003994/0.9092, allocations: 269.2 kB / 1.198 GB, free: 2.703 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008421/0.9177, allocations: 1.305 MB / 1.2 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.9202, allocations: 1.302 MB / 1.201 GB, free: 52 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.9203, allocations: 111.4 kB / 1.201 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.9207, allocations: 152.2 kB / 1.201 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00507/0.9257, allocations: 3.437 MB / 1.204 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.9258, allocations: 4 kB / 1.204 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.926, allocations: 59.97 kB / 1.204 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002403/0.9262, allocations: 211.1 kB / 1.205 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004781/0.931, allocations: 3.127 MB / 1.208 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.9478, allocations: 13.54 MB / 1.221 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.9502, allocations: 1.72 MB / 1.223 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.9522, allocations: 1.452 MB / 1.224 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.781e-05/0.9523, allocations: 9 kB / 1.224 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.9523, allocations: 43.56 kB / 1.224 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=104): time 2.915e-06/0.9523, allocations: 4 kB / 1.224 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of matching and sorting (n=183): time 0.1335/1.086, allocations: 36.68 MB / 1.26 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/1.086, allocations: 69.41 kB / 1.26 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/1.088, allocations: 1.057 MB / 1.261 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003299/1.088, allocations: 53.7 kB / 1.261 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006239/1.089, allocations: 0.7874 MB / 1.262 GB, free: 352 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000807/1.09, allocations: 0.6238 MB / 1.262 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/1.091, allocations: 359.3 kB / 1.263 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.091, allocations: 305.1 kB / 1.263 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/1.094, allocations: 1.932 MB / 1.265 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003203/1.097, allocations: 2.293 MB / 1.267 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006357/1.104, allocations: 4.394 MB / 1.271 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/1.104, allocations: 0 / 1.271 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02066/1.124, allocations: 9.023 MB / 1.28 GB, free: 13.13 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/1.124, allocations: 11.94 kB / 1.28 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/1.124, allocations: 8.656 kB / 1.28 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01681/1.141, allocations: 4.975 MB / 1.285 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/1.142, allocations: 195.6 kB / 1.285 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06008/1.202, allocations: 38.9 MB / 1.323 GB, free: 468 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/1.204, allocations: 107.9 kB / 1.323 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004519/1.205, allocations: 68 kB / 1.324 GB, free: 292 kB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001651/1.206, allocations: 0.8066 MB / 1.324 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004745/1.207, allocations: 146.2 kB / 1.324 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/1.227, allocations: 8.89 MB / 1.333 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-05/1.227, allocations: 16 kB / 1.333 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001191/1.227, allocations: 32 kB / 1.333 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.456e-05/1.227, allocations: 11.97 kB / 1.333 GB, free: 6.336 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02954/1.257, allocations: 13.39 MB / 1.346 GB, free: 8.797 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.362e-05/1.257, allocations: 3.938 kB / 1.346 GB, free: 8.793 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/1.258, allocations: 123.8 kB / 1.346 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01753/1.275, allocations: 4.839 MB / 1.351 GB, free: 3.816 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003992/1.276, allocations: 36 kB / 1.351 GB, free: 3.781 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05752/1.333, allocations: 36.81 MB / 1.387 GB, free: 14.37 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/1.333, allocations: 11.88 kB / 1.387 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02022/1.354, allocations: 8.6 MB / 1.396 GB, free: 5.668 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/1.355, allocations: 0.6358 MB / 1.396 GB, free: 5.012 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004842/1.356, allocations: 36 kB / 1.396 GB, free: 4.977 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/1.357, allocations: 91.89 kB / 1.396 GB, free: 4.887 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008805/1.358, allocations: 157.6 kB / 1.396 GB, free: 4.734 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/1.358, allocations: 55.98 kB / 1.396 GB, free: 4.68 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001172/1.359, allocations: 0.7382 MB / 1.397 GB, free: 3.93 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.11e-07/1.36, allocations: 0 / 1.397 GB, free: 3.93 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003638/1.363, allocations: 1.004 MB / 1.398 GB, free: 2.926 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01976/1.383, allocations: 9.191 MB / 1.407 GB, free: 9.641 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.394, allocations: 5.92 MB / 1.413 GB, free: 3.664 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/1.394, allocations: 0 / 1.413 GB, free: 3.664 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.009103/1.403, allocations: 3.97 MB / 1.417 GB, free: 15.66 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/1.405, allocations: 237.5 kB / 1.417 GB, free: 15.43 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0632/1.468, allocations: 31.01 MB / 1.447 GB, free: 15.89 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002312/1.471, allocations: 1.859 MB / 1.449 GB, free: 13.98 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009202/1.472, allocations: 351.4 kB / 1.449 GB, free: 13.64 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008642/1.473, allocations: 0.6047 MB / 1.45 GB, free: 13.03 MB / 1.186 GB Notification: Performance of SimCode: time 7.11e-07/1.473, allocations: 0 / 1.45 GB, free: 13.03 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1759/1.649, allocations: 76.16 MB / 1.524 GB, free: 1.164 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/14.28, allocations: 15.7 kB / 1.524 GB, free: 1.148 MB / 1.248 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches