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.001423/0.001423, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001441/0.001441, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.973 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.052/3.052, allocations: 0.49 GB / 0.7951 GB, free: 33.38 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.001982/0.001982, allocations: 69.27 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3521, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03519/0.3873, allocations: 27.94 MB / 1.353 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01625/0.4035, allocations: 8.399 MB / 1.361 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002953/0.4065, allocations: 150.8 kB / 1.362 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008034/0.4145, allocations: 2.876 MB / 1.364 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005094/0.4196, allocations: 1.683 MB / 1.366 GB, free: 8.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004496/0.4241, allocations: 1.725 MB / 1.368 GB, free: 7.043 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008398/0.4325, allocations: 6.135 MB / 1.374 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00561/0.4381, allocations: 3.792 MB / 1.377 GB, free: 13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004387/0.4425, allocations: 2.652 MB / 1.38 GB, free: 10.34 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005066/0.4476, allocations: 3.002 MB / 1.383 GB, free: 7.324 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.4487, allocations: 0.5078 MB / 1.383 GB, free: 6.816 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.4516, allocations: 1.303 MB / 1.385 GB, free: 5.512 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002543/0.4541, allocations: 2.1 MB / 1.387 GB, free: 3.406 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003591/0.4577, allocations: 2.385 MB / 1.389 GB, free: 1.012 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.468, allocations: 8.079 MB / 1.397 GB, free: 8.906 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.468, allocations: 0 / 1.397 GB, free: 8.906 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.934e-06/0.468, allocations: 0 / 1.397 GB, free: 8.906 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002163/0.4682, allocations: 0 / 1.397 GB, free: 8.906 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.01007/0.4783, allocations: 4.256 MB / 1.401 GB, free: 4.598 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4784, allocations: 15.97 kB / 1.401 GB, free: 4.582 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001016/0.4794, allocations: 0.5343 MB / 1.402 GB, free: 4.039 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004684/0.4841, allocations: 0.814 MB / 1.402 GB, free: 3.223 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006183/0.4902, allocations: 2.538 MB / 1.405 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.4905, allocations: 271.6 kB / 1.405 GB, free: 364 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.4916, allocations: 384.4 kB / 1.406 GB, free: 15.98 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/0.504, allocations: 5.984 MB / 1.411 GB, free: 9.742 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/0.5041, allocations: 27.81 kB / 1.411 GB, free: 9.715 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006536/0.5047, allocations: 160 kB / 1.412 GB, free: 9.559 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006358/0.5054, allocations: 278.9 kB / 1.412 GB, free: 9.285 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008629/0.514, allocations: 4.52 MB / 1.416 GB, free: 4.758 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03495/0.549, allocations: 27.24 MB / 1.443 GB, free: 7.012 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.5508, allocations: 1.061 MB / 1.444 GB, free: 5.941 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.5523, allocations: 0.961 MB / 1.445 GB, free: 4.98 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.681e-05/0.5524, allocations: 9 kB / 1.445 GB, free: 4.973 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.5524, allocations: 51.5 kB / 1.445 GB, free: 4.914 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 2.975e-06/0.5524, allocations: 4 kB / 1.445 GB, free: 4.91 MB / 1.139 GB Notification: Performance of matching and sorting (n=131): time 0.02252/0.5749, allocations: 9.095 MB / 1.454 GB, free: 11.76 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.575, allocations: 64.72 kB / 1.454 GB, free: 11.68 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/0.5776, allocations: 1.494 MB / 1.455 GB, free: 10.19 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002298/0.5779, allocations: 49.7 kB / 1.455 GB, free: 10.13 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.5793, allocations: 1.715 MB / 1.457 GB, free: 8.398 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006247/0.58, allocations: 495.8 kB / 1.457 GB, free: 7.91 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006967/0.5807, allocations: 331.4 kB / 1.458 GB, free: 7.578 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5808, allocations: 309.1 kB / 1.458 GB, free: 7.273 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.5823, allocations: 0.9135 MB / 1.459 GB, free: 6.359 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.5842, allocations: 1.463 MB / 1.46 GB, free: 4.66 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003674/0.5879, allocations: 2.546 MB / 1.463 GB, free: 1.875 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/0.5879, allocations: 8 kB / 1.463 GB, free: 1.867 MB / 1.154 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006415/0.5943, allocations: 3.275 MB / 1.466 GB, free: 14.55 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.5944, allocations: 17.5 kB / 1.466 GB, free: 14.54 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/0.5944, allocations: 16 kB / 1.466 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/0.5967, allocations: 0.7377 MB / 1.467 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.5983, allocations: 383.4 kB / 1.467 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/0.6163, allocations: 16.14 MB / 1.483 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.6179, allocations: 99.97 kB / 1.483 GB, free: 12.11 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002545/0.6182, allocations: 76 kB / 1.483 GB, free: 12.04 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.002502/0.6207, allocations: 1.305 MB / 1.484 GB, free: 10.72 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004828/0.6212, allocations: 214.7 kB / 1.485 GB, free: 10.51 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005422/0.6266, allocations: 2.765 MB / 1.487 GB, free: 7.699 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.6266, allocations: 12 kB / 1.487 GB, free: 7.688 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.6266, allocations: 8 kB / 1.487 GB, free: 7.68 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.6266, allocations: 7.969 kB / 1.487 GB, free: 7.672 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/0.6405, allocations: 6.169 MB / 1.493 GB, free: 1.344 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/0.6406, allocations: 12.12 kB / 1.493 GB, free: 1.332 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.6418, allocations: 231.6 kB / 1.494 GB, free: 1.105 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/0.6439, allocations: 0.6789 MB / 1.494 GB, free: 408 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/0.6441, allocations: 32 kB / 1.494 GB, free: 376 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/0.6618, allocations: 15.86 MB / 1.51 GB, free: 15.47 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/0.6619, allocations: 7.938 kB / 1.51 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007321/0.6692, allocations: 4.002 MB / 1.514 GB, free: 11.35 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.6705, allocations: 390.6 kB / 1.514 GB, free: 10.96 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005018/0.671, allocations: 35.94 kB / 1.514 GB, free: 10.93 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.6722, allocations: 87.89 kB / 1.514 GB, free: 10.84 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003622/0.6725, allocations: 116.6 kB / 1.514 GB, free: 10.73 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.6727, allocations: 36 kB / 1.514 GB, free: 10.7 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001973/0.6746, allocations: 1.002 MB / 1.515 GB, free: 9.703 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6746, allocations: 0 / 1.515 GB, free: 9.703 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003087/0.6777, allocations: 0.6836 MB / 1.516 GB, free: 9.02 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.007772/0.6855, allocations: 4.592 MB / 1.52 GB, free: 4.309 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006019/0.6915, allocations: 3.389 MB / 1.524 GB, free: 0.8008 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.6915, allocations: 0 / 1.524 GB, free: 0.8008 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00376/0.6953, allocations: 2.241 MB / 1.526 GB, free: 14.45 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004031/0.6993, allocations: 0.6791 MB / 1.527 GB, free: 13.79 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/0.74, allocations: 21.3 MB / 1.547 GB, free: 7.605 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004264/0.7442, allocations: 2.668 MB / 1.55 GB, free: 4.906 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001637/0.7459, allocations: 485.4 kB / 1.551 GB, free: 4.43 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/0.7478, allocations: 1.288 MB / 1.552 GB, free: 3.145 MB / 1.248 GB Notification: Performance of SimCode: time 1.342e-06/0.7478, allocations: 0 / 1.552 GB, free: 3.145 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8101/1.558, allocations: 59.1 MB / 1.609 GB, free: 255.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/16.38, allocations: 1.359 kB / 1.609 GB, free: 255.2 MB / 1.295 GB " [Timeout remaining time 283] (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: 23.415550176985562]