Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 104.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.037/3.037, allocations: 497.2 MB / 0.7811 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 71.83 kB / 1.134 GB, free: 33.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3117, allocations: 173.9 MB / 1.304 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.08491/0.3966, allocations: 35.7 MB / 1.339 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02402/0.4206, allocations: 10.07 MB / 1.349 GB, free: 3.711 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004059/0.4247, allocations: 147.2 kB / 1.349 GB, free: 3.566 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01219/0.4368, allocations: 3.866 MB / 1.353 GB, free: 15.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006986/0.4438, allocations: 2.142 MB / 1.355 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005268/0.4491, allocations: 1.964 MB / 1.357 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01074/0.4598, allocations: 7.967 MB / 1.364 GB, free: 3.586 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.4704, allocations: 7.137 MB / 1.371 GB, free: 12.33 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006155/0.4765, allocations: 3.42 MB / 1.375 GB, free: 8.898 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006551/0.4831, allocations: 3.933 MB / 1.379 GB, free: 4.953 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001628/0.4847, allocations: 0.6797 MB / 1.379 GB, free: 4.273 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003468/0.4882, allocations: 1.467 MB / 1.381 GB, free: 2.805 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003657/0.4918, allocations: 2.689 MB / 1.383 GB, free: 112 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005797/0.4976, allocations: 3.112 MB / 1.386 GB, free: 12.98 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.015/0.5126, allocations: 10.41 MB / 1.396 GB, free: 2.539 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.5126, allocations: 0 / 1.396 GB, free: 2.539 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5127, allocations: 0 / 1.396 GB, free: 2.539 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003598/0.513, allocations: 3.938 kB / 1.396 GB, free: 2.535 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01512/0.5281, allocations: 5.534 MB / 1.402 GB, free: 12.92 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5282, allocations: 8.625 kB / 1.402 GB, free: 12.91 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001845/0.53, allocations: 0.7023 MB / 1.403 GB, free: 12.2 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005729/0.5358, allocations: 0.9812 MB / 1.404 GB, free: 11.22 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008145/0.5439, allocations: 3.2 MB / 1.407 GB, free: 7.965 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003516/0.5443, allocations: 353.9 kB / 1.407 GB, free: 7.617 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/0.5458, allocations: 476.3 kB / 1.407 GB, free: 7.152 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/0.5618, allocations: 7.906 MB / 1.415 GB, free: 14.88 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.5619, allocations: 19.81 kB / 1.415 GB, free: 14.86 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000642/0.5626, allocations: 208 kB / 1.415 GB, free: 14.66 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005472/0.5631, allocations: 365.1 kB / 1.416 GB, free: 14.3 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01171/0.5748, allocations: 5.941 MB / 1.422 GB, free: 8.344 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04446/0.6193, allocations: 36.01 MB / 1.457 GB, free: 1.105 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/0.6228, allocations: 1.99 MB / 1.459 GB, free: 15.1 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.6248, allocations: 1.333 MB / 1.46 GB, free: 13.77 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.515e-05/0.6249, allocations: 25.25 kB / 1.46 GB, free: 13.74 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.999e-05/0.625, allocations: 59.75 kB / 1.46 GB, free: 13.68 MB / 1.17 GB Notification: Performance of pre-optimization done (n=157): time 3.506e-06/0.625, allocations: 0 / 1.46 GB, free: 13.68 MB / 1.17 GB Notification: Performance of matching and sorting (n=160): time 0.01534/0.6403, allocations: 7.574 MB / 1.467 GB, free: 5.84 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.6404, allocations: 68.72 kB / 1.467 GB, free: 5.762 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/0.6433, allocations: 1.86 MB / 1.469 GB, free: 3.875 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002434/0.6435, allocations: 53.7 kB / 1.469 GB, free: 3.816 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001883/0.6454, allocations: 2.188 MB / 1.471 GB, free: 1.609 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007874/0.6462, allocations: 0.5771 MB / 1.472 GB, free: 1.027 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007085/0.6469, allocations: 415.9 kB / 1.472 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6471, allocations: 301.1 kB / 1.473 GB, free: 324 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.6488, allocations: 1.058 MB / 1.474 GB, free: 15.25 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.6512, allocations: 1.764 MB / 1.475 GB, free: 13.17 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/0.6556, allocations: 3.052 MB / 1.478 GB, free: 9.805 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.6556, allocations: 4 kB / 1.478 GB, free: 9.801 MB / 1.186 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007123/0.6627, allocations: 3.91 MB / 1.482 GB, free: 5.844 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.6628, allocations: 16 kB / 1.482 GB, free: 5.828 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/0.6628, allocations: 20 kB / 1.482 GB, free: 5.809 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/0.6652, allocations: 0.9277 MB / 1.483 GB, free: 4.844 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.6668, allocations: 427.3 kB / 1.484 GB, free: 4.426 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02363/0.6904, allocations: 22.77 MB / 1.506 GB, free: 11.97 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.6924, allocations: 123.9 kB / 1.506 GB, free: 11.85 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/0.6926, allocations: 104 kB / 1.506 GB, free: 11.75 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002819/0.6954, allocations: 1.652 MB / 1.508 GB, free: 10.08 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005369/0.696, allocations: 270.4 kB / 1.508 GB, free: 9.816 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005604/0.7016, allocations: 3.232 MB / 1.511 GB, free: 6.535 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.7016, allocations: 19.98 kB / 1.511 GB, free: 6.516 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/0.7016, allocations: 8 kB / 1.511 GB, free: 6.508 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/0.7016, allocations: 7.969 kB / 1.511 GB, free: 6.5 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.715, allocations: 7.537 MB / 1.519 GB, free: 14.8 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.715, allocations: 7.984 kB / 1.519 GB, free: 14.8 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000904/0.7159, allocations: 211.7 kB / 1.519 GB, free: 14.59 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002409/0.7183, allocations: 0.8921 MB / 1.52 GB, free: 13.66 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.7184, allocations: 32 kB / 1.52 GB, free: 13.63 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02336/0.7418, allocations: 22.74 MB / 1.542 GB, free: 5.203 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.7418, allocations: 4 kB / 1.542 GB, free: 5.199 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005926/0.7477, allocations: 3.361 MB / 1.545 GB, free: 1.727 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/0.7494, allocations: 0.5384 MB / 1.546 GB, free: 1.168 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004336/0.7498, allocations: 35.94 kB / 1.546 GB, free: 1.133 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.7508, allocations: 95.88 kB / 1.546 GB, free: 1.039 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003938/0.7512, allocations: 137 kB / 1.546 GB, free: 0.9062 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.7513, allocations: 48.19 kB / 1.546 GB, free: 0.8594 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0019/0.7532, allocations: 1.225 MB / 1.547 GB, free: 15.62 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7532, allocations: 0 / 1.547 GB, free: 15.62 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003179/0.7564, allocations: 0.91 MB / 1.548 GB, free: 14.71 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006215/0.7626, allocations: 3.969 MB / 1.552 GB, free: 10.62 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007096/0.7697, allocations: 4.291 MB / 1.556 GB, free: 6.176 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.7697, allocations: 8 kB / 1.556 GB, free: 6.168 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004759/0.7745, allocations: 2.903 MB / 1.559 GB, free: 3.109 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/0.7781, allocations: 0.8279 MB / 1.56 GB, free: 2.297 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04425/0.8223, allocations: 25.12 MB / 1.584 GB, free: 8.062 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004134/0.8265, allocations: 3.209 MB / 1.587 GB, free: 4.824 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001712/0.8282, allocations: 0.5293 MB / 1.588 GB, free: 4.289 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002253/0.8304, allocations: 1.655 MB / 1.59 GB, free: 2.637 MB / 1.295 GB Notification: Performance of SimCode: time 1.062e-06/0.8304, allocations: 0 / 1.59 GB, free: 2.637 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7936/1.624, allocations: 70.72 MB / 1.659 GB, free: 266.5 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/16.12, allocations: 6.188 kB / 1.659 GB, free: 266.5 MB / 1.311 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.031064388807863]