Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001315/0.001315, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001366/0.001366, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.411/1.411, allocations: 230.6 MB / 252.8 MB, free: 9.098 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.126/3.126, allocations: 0.49 GB / 0.7916 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002108/0.002108, allocations: 68.5 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3329, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03519/0.3681, allocations: 27.12 MB / 1.347 GB, free: 8.125 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01515/0.3833, allocations: 8.196 MB / 1.355 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.3859, allocations: 158.8 kB / 1.355 GB, free: 15.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.007589/0.3935, allocations: 2.798 MB / 1.358 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.3983, allocations: 1.671 MB / 1.36 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004783/0.4031, allocations: 1.687 MB / 1.361 GB, free: 9.582 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008542/0.4116, allocations: 6.13 MB / 1.367 GB, free: 3.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009081/0.4207, allocations: 5.321 MB / 1.373 GB, free: 14.01 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005022/0.4257, allocations: 2.652 MB / 1.375 GB, free: 11.35 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005381/0.4311, allocations: 2.998 MB / 1.378 GB, free: 8.34 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001689/0.4328, allocations: 0.5078 MB / 1.379 GB, free: 7.832 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003666/0.4365, allocations: 1.307 MB / 1.38 GB, free: 6.523 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003477/0.4399, allocations: 2.104 MB / 1.382 GB, free: 4.414 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005002/0.4449, allocations: 2.381 MB / 1.384 GB, free: 2.023 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.4565, allocations: 8.083 MB / 1.392 GB, free: 9.914 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4565, allocations: 0 / 1.392 GB, free: 9.914 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4566, allocations: 0 / 1.392 GB, free: 9.914 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002901/0.4568, allocations: 0 / 1.392 GB, free: 9.914 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01243/0.4693, allocations: 4.339 MB / 1.396 GB, free: 5.504 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.4693, allocations: 11.98 kB / 1.396 GB, free: 5.492 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001865/0.4712, allocations: 0.5343 MB / 1.397 GB, free: 4.949 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005606/0.4768, allocations: 0.8218 MB / 1.398 GB, free: 4.125 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006311/0.4831, allocations: 2.59 MB / 1.4 GB, free: 1.48 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/0.4834, allocations: 271.6 kB / 1.401 GB, free: 1.215 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/0.4848, allocations: 376.4 kB / 1.401 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/0.4992, allocations: 5.988 MB / 1.407 GB, free: 10.61 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001756/0.4994, allocations: 23.83 kB / 1.407 GB, free: 10.58 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/0.5005, allocations: 160 kB / 1.407 GB, free: 10.43 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007271/0.5013, allocations: 278.9 kB / 1.407 GB, free: 10.15 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.5114, allocations: 4.527 MB / 1.412 GB, free: 5.617 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03588/0.5473, allocations: 27.5 MB / 1.438 GB, free: 7.613 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.5493, allocations: 1.06 MB / 1.44 GB, free: 6.543 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.5507, allocations: 0.9658 MB / 1.44 GB, free: 5.578 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.067e-05/0.5508, allocations: 13 kB / 1.44 GB, free: 5.566 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.5509, allocations: 43.56 kB / 1.441 GB, free: 5.512 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 2.896e-06/0.5509, allocations: 0 / 1.441 GB, free: 5.512 MB / 1.139 GB Notification: Performance of matching and sorting (n=131): time 0.02392/0.5748, allocations: 9.696 MB / 1.45 GB, free: 11.61 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.5748, allocations: 68.72 kB / 1.45 GB, free: 11.54 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.577, allocations: 1.494 MB / 1.452 GB, free: 10.04 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002325/0.5772, allocations: 45.7 kB / 1.452 GB, free: 9.992 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.5786, allocations: 1.711 MB / 1.453 GB, free: 8.262 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005429/0.5792, allocations: 0.492 MB / 1.454 GB, free: 7.766 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005593/0.5797, allocations: 331.4 kB / 1.454 GB, free: 7.434 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5798, allocations: 305.1 kB / 1.454 GB, free: 7.133 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.5813, allocations: 0.9174 MB / 1.455 GB, free: 6.215 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.5831, allocations: 1.463 MB / 1.457 GB, free: 4.508 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/0.5866, allocations: 2.546 MB / 1.459 GB, free: 1.719 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.5866, allocations: 12 kB / 1.459 GB, free: 1.707 MB / 1.154 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006423/0.5931, allocations: 3.271 MB / 1.462 GB, free: 14.4 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.5931, allocations: 12 kB / 1.462 GB, free: 14.39 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.5931, allocations: 20 kB / 1.462 GB, free: 14.37 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.5956, allocations: 0.7338 MB / 1.463 GB, free: 13.61 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.5972, allocations: 387.3 kB / 1.463 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/0.6157, allocations: 17.05 MB / 1.48 GB, free: 10.9 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.6174, allocations: 99.91 kB / 1.48 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.6176, allocations: 84.05 kB / 1.48 GB, free: 10.72 MB / 1.186 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.002243/0.6199, allocations: 1.305 MB / 1.482 GB, free: 9.406 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/0.6203, allocations: 210.7 kB / 1.482 GB, free: 9.199 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005556/0.6259, allocations: 2.765 MB / 1.484 GB, free: 6.395 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.6259, allocations: 12 kB / 1.484 GB, free: 6.383 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/0.6259, allocations: 8 kB / 1.484 GB, free: 6.375 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.6259, allocations: 7.922 kB / 1.484 GB, free: 6.367 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/0.6377, allocations: 6.201 MB / 1.491 GB, free: 15.99 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.6377, allocations: 12.03 kB / 1.491 GB, free: 15.98 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.6389, allocations: 231.6 kB / 1.491 GB, free: 15.76 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.6411, allocations: 0.671 MB / 1.491 GB, free: 15.06 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.6413, allocations: 32 kB / 1.491 GB, free: 15.03 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/0.6589, allocations: 16.8 MB / 1.508 GB, free: 12.97 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.924e-06/0.6589, allocations: 7.938 kB / 1.508 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006714/0.6656, allocations: 3.994 MB / 1.512 GB, free: 8.859 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009962/0.6666, allocations: 463.6 kB / 1.512 GB, free: 8.387 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/0.667, allocations: 32 kB / 1.512 GB, free: 8.355 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.668, allocations: 87.89 kB / 1.512 GB, free: 8.27 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/0.6684, allocations: 112.7 kB / 1.512 GB, free: 8.16 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.656e-05/0.6685, allocations: 43.98 kB / 1.512 GB, free: 8.117 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001599/0.6701, allocations: 0.9942 MB / 1.513 GB, free: 7.133 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6701, allocations: 0 / 1.513 GB, free: 7.133 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002439/0.6725, allocations: 0.6875 MB / 1.514 GB, free: 6.445 MB / 1.217 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.007226/0.6797, allocations: 4.591 MB / 1.519 GB, free: 1.734 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006221/0.686, allocations: 3.385 MB / 1.522 GB, free: 14.23 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.527e-06/0.686, allocations: 0 / 1.522 GB, free: 14.23 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.003775/0.6897, allocations: 2.237 MB / 1.524 GB, free: 11.88 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/0.6938, allocations: 0.6868 MB / 1.525 GB, free: 11.21 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03842/0.7323, allocations: 21.21 MB / 1.545 GB, free: 5.125 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003204/0.7355, allocations: 2.664 MB / 1.548 GB, free: 2.426 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001602/0.7371, allocations: 489.3 kB / 1.549 GB, free: 1.945 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/0.7388, allocations: 1.28 MB / 1.55 GB, free: 0.6641 MB / 1.248 GB Notification: Performance of SimCode: time 1.112e-06/0.7388, allocations: 0 / 1.55 GB, free: 0.6641 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1323/0.8711, allocations: 57.6 MB / 1.606 GB, free: 7.816 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.3, allocations: 18.84 kB / 1.606 GB, free: 7.805 MB / 1.311 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.78978519910015]