Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 212.5 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.403/1.403, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.118/3.118, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 70.58 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3344, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03367/0.368, allocations: 27.95 MB / 1.38 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.3823, allocations: 8.387 MB / 1.388 GB, free: 3.996 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/0.3846, allocations: 158.8 kB / 1.389 GB, free: 3.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.007291/0.3919, allocations: 2.886 MB / 1.391 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004561/0.3964, allocations: 1.671 MB / 1.393 GB, free: 15.27 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00463/0.401, allocations: 1.721 MB / 1.395 GB, free: 13.55 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008662/0.4097, allocations: 6.143 MB / 1.401 GB, free: 7.383 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005736/0.4154, allocations: 3.785 MB / 1.404 GB, free: 3.512 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004389/0.4198, allocations: 2.652 MB / 1.407 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005143/0.425, allocations: 2.998 MB / 1.41 GB, free: 13.84 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001315/0.4263, allocations: 0.5078 MB / 1.41 GB, free: 13.34 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.4292, allocations: 1.303 MB / 1.412 GB, free: 12.03 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002614/0.4318, allocations: 2.1 MB / 1.414 GB, free: 9.926 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004035/0.4359, allocations: 2.392 MB / 1.416 GB, free: 7.523 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.4459, allocations: 8.075 MB / 1.424 GB, free: 15.42 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4459, allocations: 0 / 1.424 GB, free: 15.42 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4459, allocations: 0 / 1.424 GB, free: 15.42 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002391/0.4461, allocations: 0 / 1.424 GB, free: 15.42 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0105/0.4566, allocations: 4.264 MB / 1.428 GB, free: 11.11 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.4567, allocations: 12.03 kB / 1.428 GB, free: 11.09 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/0.4578, allocations: 0.5382 MB / 1.429 GB, free: 10.55 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004484/0.4623, allocations: 0.818 MB / 1.429 GB, free: 9.727 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006563/0.4689, allocations: 2.53 MB / 1.432 GB, free: 7.129 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.4692, allocations: 267.6 kB / 1.432 GB, free: 6.867 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001433/0.4706, allocations: 380.4 kB / 1.432 GB, free: 6.496 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.4818, allocations: 5.988 MB / 1.438 GB, free: 260 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.4819, allocations: 27.88 kB / 1.438 GB, free: 232 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004251/0.4823, allocations: 159.9 kB / 1.439 GB, free: 72 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006112/0.483, allocations: 278.9 kB / 1.439 GB, free: 15.8 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008556/0.4915, allocations: 4.524 MB / 1.443 GB, free: 11.27 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0318/0.5233, allocations: 27.24 MB / 1.47 GB, free: 13.52 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.5251, allocations: 1.058 MB / 1.471 GB, free: 12.45 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.5265, allocations: 0.9564 MB / 1.472 GB, free: 11.49 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.412e-05/0.5266, allocations: 17 kB / 1.472 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.5267, allocations: 43.56 kB / 1.472 GB, free: 11.42 MB / 1.17 GB Notification: Performance of pre-optimization done (n=110): time 3.456e-06/0.5267, allocations: 4 kB / 1.472 GB, free: 11.42 MB / 1.17 GB Notification: Performance of matching and sorting (n=131): time 0.02148/0.5482, allocations: 9.099 MB / 1.481 GB, free: 2.266 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.5482, allocations: 64.72 kB / 1.481 GB, free: 2.188 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.5502, allocations: 1.494 MB / 1.482 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.5504, allocations: 53.7 kB / 1.482 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.5516, allocations: 1.719 MB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004944/0.5521, allocations: 491.8 kB / 1.484 GB, free: 14.41 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005102/0.5526, allocations: 335.4 kB / 1.485 GB, free: 14.07 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5527, allocations: 305.1 kB / 1.485 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.5541, allocations: 0.9135 MB / 1.486 GB, free: 12.86 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.5559, allocations: 1.467 MB / 1.487 GB, free: 11.15 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/0.5592, allocations: 2.546 MB / 1.49 GB, free: 8.367 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.5592, allocations: 4 kB / 1.49 GB, free: 8.363 MB / 1.186 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006/0.5652, allocations: 3.275 MB / 1.493 GB, free: 5.051 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.5652, allocations: 12 kB / 1.493 GB, free: 5.039 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.5652, allocations: 16 kB / 1.493 GB, free: 5.023 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/0.5675, allocations: 0.7456 MB / 1.494 GB, free: 4.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.5691, allocations: 379.4 kB / 1.494 GB, free: 3.879 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/0.5859, allocations: 16.13 MB / 1.51 GB, free: 2.715 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.5875, allocations: 107.9 kB / 1.51 GB, free: 2.609 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.5876, allocations: 76 kB / 1.51 GB, free: 2.535 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002154/0.5898, allocations: 1.313 MB / 1.511 GB, free: 1.211 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003978/0.5902, allocations: 214.6 kB / 1.512 GB, free: 1 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005096/0.5953, allocations: 2.765 MB / 1.514 GB, free: 14.19 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.5953, allocations: 19.92 kB / 1.514 GB, free: 14.17 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/0.5953, allocations: 8 kB / 1.514 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.5953, allocations: 7.922 kB / 1.514 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.6061, allocations: 6.166 MB / 1.52 GB, free: 7.828 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.6061, allocations: 8 kB / 1.52 GB, free: 7.82 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.6073, allocations: 223.7 kB / 1.521 GB, free: 7.602 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.6093, allocations: 0.6788 MB / 1.521 GB, free: 6.895 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.6094, allocations: 28 kB / 1.521 GB, free: 6.867 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01611/0.6255, allocations: 15.88 MB / 1.537 GB, free: 5.953 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.6255, allocations: 8 kB / 1.537 GB, free: 5.945 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006549/0.6321, allocations: 4.001 MB / 1.541 GB, free: 1.836 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.6332, allocations: 382.6 kB / 1.541 GB, free: 1.461 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/0.6335, allocations: 39.94 kB / 1.541 GB, free: 1.422 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/0.6344, allocations: 83.89 kB / 1.541 GB, free: 1.34 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/0.6348, allocations: 116.7 kB / 1.541 GB, free: 1.227 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/0.6348, allocations: 47.98 kB / 1.541 GB, free: 1.18 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001363/0.6362, allocations: 0.9942 MB / 1.542 GB, free: 200 kB / 1.232 GB Notification: Performance of sort global known variables: time 6e-08/0.6362, allocations: 0 / 1.542 GB, free: 200 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.002228/0.6384, allocations: 0.6837 MB / 1.543 GB, free: 15.51 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00674/0.6452, allocations: 4.59 MB / 1.547 GB, free: 10.8 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.005363/0.6505, allocations: 3.378 MB / 1.551 GB, free: 7.301 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.6505, allocations: 0 / 1.551 GB, free: 7.301 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.003332/0.6539, allocations: 2.249 MB / 1.553 GB, free: 4.938 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.6567, allocations: 0.687 MB / 1.554 GB, free: 4.273 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03521/0.6919, allocations: 21.3 MB / 1.574 GB, free: 14.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0029/0.6948, allocations: 2.668 MB / 1.577 GB, free: 11.39 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00143/0.6963, allocations: 485.3 kB / 1.577 GB, free: 10.92 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/0.6978, allocations: 1.28 MB / 1.579 GB, free: 9.637 MB / 1.279 GB Notification: Performance of SimCode: time 1.142e-06/0.6978, allocations: 4 kB / 1.579 GB, free: 9.633 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7551/1.453, allocations: 59.08 MB / 1.636 GB, free: 237.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/16.38, allocations: 10.7 kB / 1.636 GB, free: 237.1 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.323060424998403]