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.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.001786/0.001786, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002029/0.002029, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.42/1.42, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.081/3.081, allocations: 497.2 MB / 0.7811 GB, free: 33.65 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_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: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 70.61 kB / 1.134 GB, free: 33.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3317, allocations: 173.9 MB / 1.304 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03472/0.3665, allocations: 27.09 MB / 1.33 GB, free: 6.312 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01517/0.3816, allocations: 8.164 MB / 1.338 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002989/0.3846, allocations: 115.4 kB / 1.339 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00784/0.3925, allocations: 2.812 MB / 1.341 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005131/0.3976, allocations: 1.66 MB / 1.343 GB, free: 9.527 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004855/0.4025, allocations: 1.688 MB / 1.345 GB, free: 7.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.008952/0.4114, allocations: 6.138 MB / 1.351 GB, free: 1.68 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007694/0.4191, allocations: 5.31 MB / 1.356 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004553/0.4237, allocations: 2.613 MB / 1.358 GB, free: 9.648 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005113/0.4288, allocations: 3.002 MB / 1.361 GB, free: 6.637 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.4301, allocations: 0.5078 MB / 1.362 GB, free: 6.129 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.4332, allocations: 1.307 MB / 1.363 GB, free: 4.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002796/0.436, allocations: 2.1 MB / 1.365 GB, free: 2.715 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003975/0.44, allocations: 2.381 MB / 1.367 GB, free: 332 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.4504, allocations: 8.075 MB / 1.375 GB, free: 8.223 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4504, allocations: 0 / 1.375 GB, free: 8.223 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4504, allocations: 4 kB / 1.375 GB, free: 8.219 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002108/0.4506, allocations: 0 / 1.375 GB, free: 8.219 MB / 1.076 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.01068/0.4613, allocations: 4.336 MB / 1.379 GB, free: 3.812 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.4613, allocations: 12.62 kB / 1.379 GB, free: 3.801 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001317/0.4627, allocations: 0.5382 MB / 1.38 GB, free: 3.254 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004708/0.4674, allocations: 0.8257 MB / 1.381 GB, free: 2.426 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00674/0.4741, allocations: 2.586 MB / 1.383 GB, free: 15.79 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.4744, allocations: 279.6 kB / 1.384 GB, free: 15.51 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/0.4758, allocations: 376.4 kB / 1.384 GB, free: 15.14 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/0.4871, allocations: 5.99 MB / 1.39 GB, free: 8.902 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.596e-05/0.4872, allocations: 15.83 kB / 1.39 GB, free: 8.887 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004003/0.4876, allocations: 160 kB / 1.39 GB, free: 8.73 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005977/0.4882, allocations: 286.9 kB / 1.39 GB, free: 8.449 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007823/0.496, allocations: 4.524 MB / 1.395 GB, free: 3.918 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03175/0.5278, allocations: 27.5 MB / 1.422 GB, free: 5.918 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.5295, allocations: 1.065 MB / 1.423 GB, free: 4.848 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.5309, allocations: 0.964 MB / 1.424 GB, free: 3.883 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.617e-05/0.531, allocations: 13 kB / 1.424 GB, free: 3.867 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.531, allocations: 47.56 kB / 1.424 GB, free: 3.812 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.126e-06/0.531, allocations: 4 kB / 1.424 GB, free: 3.809 MB / 1.123 GB Notification: Performance of matching and sorting (n=131): time 0.022/0.553, allocations: 9.703 MB / 1.433 GB, free: 9.898 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.5531, allocations: 64.72 kB / 1.433 GB, free: 9.824 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.5552, allocations: 1.494 MB / 1.435 GB, free: 8.332 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.5554, allocations: 49.7 kB / 1.435 GB, free: 8.277 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.5567, allocations: 1.715 MB / 1.436 GB, free: 6.543 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005876/0.5573, allocations: 487.8 kB / 1.437 GB, free: 6.062 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005487/0.5578, allocations: 335.4 kB / 1.437 GB, free: 5.727 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.558, allocations: 309.1 kB / 1.437 GB, free: 5.422 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.5594, allocations: 0.9174 MB / 1.438 GB, free: 4.504 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.5612, allocations: 1.459 MB / 1.44 GB, free: 2.805 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003493/0.5647, allocations: 2.554 MB / 1.442 GB, free: 8 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.5647, allocations: 4 kB / 1.442 GB, free: 4 kB / 1.139 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006077/0.5708, allocations: 3.275 MB / 1.445 GB, free: 12.69 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.5708, allocations: 16.25 kB / 1.445 GB, free: 12.68 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.5708, allocations: 16 kB / 1.445 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/0.5731, allocations: 0.7412 MB / 1.446 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.5747, allocations: 383.4 kB / 1.447 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/0.5923, allocations: 17.05 MB / 1.463 GB, free: 9.203 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.5939, allocations: 99.89 kB / 1.463 GB, free: 9.105 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.5941, allocations: 72 kB / 1.463 GB, free: 9.035 MB / 1.17 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.002213/0.5963, allocations: 1.325 MB / 1.465 GB, free: 7.703 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.5967, allocations: 210.7 kB / 1.465 GB, free: 7.496 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005265/0.602, allocations: 2.753 MB / 1.468 GB, free: 4.703 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.602, allocations: 20 kB / 1.468 GB, free: 4.684 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.602, allocations: 4 kB / 1.468 GB, free: 4.68 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.602, allocations: 11.97 kB / 1.468 GB, free: 4.668 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.6137, allocations: 6.201 MB / 1.474 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.6137, allocations: 8 kB / 1.474 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.6149, allocations: 231.7 kB / 1.474 GB, free: 14.07 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/0.617, allocations: 0.6677 MB / 1.474 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.6172, allocations: 32 kB / 1.475 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01761/0.6348, allocations: 16.79 MB / 1.491 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.6348, allocations: 11.94 kB / 1.491 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006888/0.6417, allocations: 3.994 MB / 1.495 GB, free: 7.164 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.6429, allocations: 463.7 kB / 1.495 GB, free: 6.691 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/0.6432, allocations: 40.05 kB / 1.495 GB, free: 6.652 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009441/0.6442, allocations: 87.89 kB / 1.495 GB, free: 6.566 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003296/0.6445, allocations: 112.7 kB / 1.495 GB, free: 6.453 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.175e-05/0.6446, allocations: 44 kB / 1.496 GB, free: 6.41 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001489/0.6461, allocations: 0.9903 MB / 1.497 GB, free: 5.43 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6461, allocations: 0 / 1.497 GB, free: 5.43 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002439/0.6485, allocations: 0.6836 MB / 1.497 GB, free: 4.746 MB / 1.201 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.007185/0.6557, allocations: 4.596 MB / 1.502 GB, free: 28 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005828/0.6615, allocations: 3.394 MB / 1.505 GB, free: 12.52 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.6615, allocations: 0 / 1.505 GB, free: 12.52 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00363/0.6652, allocations: 2.236 MB / 1.507 GB, free: 10.17 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/0.6681, allocations: 0.6724 MB / 1.508 GB, free: 9.512 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03911/0.7072, allocations: 21.21 MB / 1.529 GB, free: 3.426 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003632/0.7109, allocations: 2.668 MB / 1.531 GB, free: 0.7266 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001651/0.7125, allocations: 481.4 kB / 1.532 GB, free: 260 kB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002035/0.7146, allocations: 1.277 MB / 1.533 GB, free: 14.97 MB / 1.248 GB Notification: Performance of SimCode: time 8.42e-07/0.7146, allocations: 0 / 1.533 GB, free: 14.97 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1834/0.8979, allocations: 57.58 MB / 1.589 GB, free: 6.125 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.23, allocations: 11.22 kB / 1.589 GB, free: 6.117 MB / 1.295 GB " [Timeout remaining time 286] (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_2/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: 21.211187046021223]