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.001702/0.001702, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002169/0.002169, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.801 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.365/3.365, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] 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.002182/0.002182, allocations: 66.72 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3253, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03442/0.3597, allocations: 25.59 MB / 1.388 GB, free: 4.395 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.3762, allocations: 8.083 MB / 1.396 GB, free: 12.29 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.3784, allocations: 150.8 kB / 1.396 GB, free: 12.14 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.007748/0.3861, allocations: 2.779 MB / 1.399 GB, free: 9.355 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004542/0.3907, allocations: 1.668 MB / 1.401 GB, free: 7.68 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004553/0.3952, allocations: 1.685 MB / 1.402 GB, free: 5.996 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007982/0.4032, allocations: 6.131 MB / 1.408 GB, free: 15.84 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006091/0.4093, allocations: 3.742 MB / 1.412 GB, free: 12.01 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004104/0.4134, allocations: 2.672 MB / 1.415 GB, free: 9.332 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004738/0.4181, allocations: 2.815 MB / 1.417 GB, free: 6.508 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001187/0.4193, allocations: 0.5117 MB / 1.418 GB, free: 5.996 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.4223, allocations: 1.205 MB / 1.419 GB, free: 4.789 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002761/0.425, allocations: 2.104 MB / 1.421 GB, free: 2.68 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003635/0.4287, allocations: 1.934 MB / 1.423 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009246/0.4379, allocations: 8.118 MB / 1.431 GB, free: 8.594 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4379, allocations: 0 / 1.431 GB, free: 8.594 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4379, allocations: 0 / 1.431 GB, free: 8.594 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001211/0.438, allocations: 0 / 1.431 GB, free: 8.594 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.008277/0.4463, allocations: 4.256 MB / 1.435 GB, free: 4.285 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.4464, allocations: 12.03 kB / 1.435 GB, free: 4.273 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008056/0.4472, allocations: 0.5382 MB / 1.436 GB, free: 3.727 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/0.4515, allocations: 0.818 MB / 1.436 GB, free: 2.906 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006302/0.4578, allocations: 2.538 MB / 1.439 GB, free: 312 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.458, allocations: 275.6 kB / 1.439 GB, free: 36 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000832/0.4588, allocations: 376.4 kB / 1.44 GB, free: 15.67 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.4705, allocations: 6.452 MB / 1.446 GB, free: 8.852 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.734e-05/0.4706, allocations: 15.94 kB / 1.446 GB, free: 8.836 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000402/0.471, allocations: 159.9 kB / 1.446 GB, free: 8.68 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006626/0.4716, allocations: 286.9 kB / 1.446 GB, free: 8.398 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008474/0.4801, allocations: 4.508 MB / 1.451 GB, free: 3.883 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02671/0.5068, allocations: 18.01 MB / 1.468 GB, free: 1.344 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.5087, allocations: 1.049 MB / 1.469 GB, free: 292 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.5102, allocations: 0.9526 MB / 1.47 GB, free: 15.33 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.774e-05/0.5102, allocations: 13 kB / 1.47 GB, free: 15.32 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.5103, allocations: 51.56 kB / 1.47 GB, free: 15.26 MB / 1.17 GB Notification: Performance of pre-optimization done (n=110): time 3.527e-06/0.5103, allocations: 0 / 1.47 GB, free: 15.26 MB / 1.17 GB Notification: Performance of matching and sorting (n=131): time 0.02302/0.5333, allocations: 9.107 MB / 1.479 GB, free: 6.102 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.5334, allocations: 64.72 kB / 1.479 GB, free: 6.023 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.5355, allocations: 1.529 MB / 1.481 GB, free: 4.496 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001622/0.5357, allocations: 53.7 kB / 1.481 GB, free: 4.438 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/0.537, allocations: 1.707 MB / 1.482 GB, free: 2.711 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005064/0.5376, allocations: 499.8 kB / 1.483 GB, free: 2.219 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005483/0.5381, allocations: 331.4 kB / 1.483 GB, free: 1.887 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5382, allocations: 305.1 kB / 1.484 GB, free: 1.586 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.5397, allocations: 0.9174 MB / 1.484 GB, free: 0.668 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.5417, allocations: 1.459 MB / 1.486 GB, free: 14.97 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/0.5453, allocations: 2.55 MB / 1.488 GB, free: 12.18 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.5453, allocations: 4 kB / 1.488 GB, free: 12.18 MB / 1.186 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006286/0.5516, allocations: 3.275 MB / 1.492 GB, free: 8.863 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.5516, allocations: 12 kB / 1.492 GB, free: 8.852 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.5516, allocations: 16 kB / 1.492 GB, free: 8.836 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/0.5541, allocations: 0.7417 MB / 1.492 GB, free: 8.066 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.5557, allocations: 383.4 kB / 1.493 GB, free: 7.691 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/0.5737, allocations: 16.02 MB / 1.508 GB, free: 6.641 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.5753, allocations: 103.9 kB / 1.508 GB, free: 6.539 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.5754, allocations: 76.12 kB / 1.509 GB, free: 6.465 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.002193/0.5776, allocations: 1.311 MB / 1.51 GB, free: 5.145 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003924/0.578, allocations: 206.7 kB / 1.51 GB, free: 4.941 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005443/0.5835, allocations: 2.769 MB / 1.513 GB, free: 2.129 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.5835, allocations: 12 kB / 1.513 GB, free: 2.117 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.5835, allocations: 8 kB / 1.513 GB, free: 2.109 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.5835, allocations: 11.97 kB / 1.513 GB, free: 2.098 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.5949, allocations: 5.885 MB / 1.518 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.5949, allocations: 11.98 kB / 1.518 GB, free: 12.04 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.5962, allocations: 231.7 kB / 1.519 GB, free: 11.81 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/0.5983, allocations: 0.6631 MB / 1.519 GB, free: 11.12 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.5985, allocations: 32 kB / 1.519 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/0.616, allocations: 15.77 MB / 1.535 GB, free: 10.29 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.616, allocations: 4 kB / 1.535 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006976/0.623, allocations: 3.998 MB / 1.539 GB, free: 6.172 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.6241, allocations: 394.5 kB / 1.539 GB, free: 5.785 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/0.6244, allocations: 35.94 kB / 1.539 GB, free: 5.75 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000989/0.6254, allocations: 83.89 kB / 1.539 GB, free: 5.668 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003112/0.6257, allocations: 116.7 kB / 1.539 GB, free: 5.555 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.353e-05/0.6258, allocations: 36 kB / 1.539 GB, free: 5.52 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001489/0.6273, allocations: 1.002 MB / 1.54 GB, free: 4.527 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6273, allocations: 0 / 1.54 GB, free: 4.527 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002196/0.6295, allocations: 0.6836 MB / 1.541 GB, free: 3.844 MB / 1.232 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.007138/0.6366, allocations: 4.589 MB / 1.545 GB, free: 15.14 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.005647/0.6423, allocations: 3.378 MB / 1.549 GB, free: 11.64 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.6423, allocations: 8.062 kB / 1.549 GB, free: 11.63 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.003568/0.6459, allocations: 2.24 MB / 1.551 GB, free: 9.277 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/0.6488, allocations: 0.6858 MB / 1.552 GB, free: 8.613 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03524/0.684, allocations: 21.28 MB / 1.572 GB, free: 2.449 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002969/0.687, allocations: 2.101 MB / 1.574 GB, free: 320 kB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00158/0.6885, allocations: 481.4 kB / 1.575 GB, free: 15.84 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/0.6903, allocations: 1.284 MB / 1.576 GB, free: 14.55 MB / 1.279 GB Notification: Performance of SimCode: time 9.62e-07/0.6903, allocations: 0 / 1.576 GB, free: 14.55 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7661/1.456, allocations: 61.44 MB / 1.636 GB, free: 224.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.78, allocations: 17.62 kB / 1.636 GB, free: 224.4 MB / 1.295 GB " [Timeout remaining time 285] (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: 21.997034025844187]