Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001384/0.001384, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001608/0.001608, allocations: 210.6 kB / 22.24 MB, free: 5.266 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.797 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.369/3.369, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [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.002383/0.002383, allocations: 70.95 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4017, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009396/0.4111, allocations: 6.562 MB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005956/0.4171, allocations: 3.071 MB / 1.373 GB, free: 3.887 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000488/0.4175, allocations: 35.69 kB / 1.373 GB, free: 3.852 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002693/0.4202, allocations: 0.9516 MB / 1.374 GB, free: 2.898 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.4215, allocations: 0.5207 MB / 1.375 GB, free: 2.375 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.4226, allocations: 449.5 kB / 1.375 GB, free: 1.938 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.4239, allocations: 1.236 MB / 1.376 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008078/0.4248, allocations: 0.5334 MB / 1.377 GB, free: 156 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006697/0.4254, allocations: 494.4 kB / 1.377 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000706/0.4261, allocations: 0.5097 MB / 1.378 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.4262, allocations: 68 kB / 1.378 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006651/0.4269, allocations: 347.2 kB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003195/0.4272, allocations: 323 kB / 1.379 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003919/0.4276, allocations: 374.3 kB / 1.379 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.429, allocations: 1.23 MB / 1.38 GB, free: 12.83 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.429, allocations: 8 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.693e-06/0.429, allocations: 0 / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.429, allocations: 0 / 1.38 GB, free: 12.82 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001938/0.4309, allocations: 1.112 MB / 1.381 GB, free: 11.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.431, allocations: 12.03 kB / 1.381 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.4324, allocations: 240.1 kB / 1.381 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.4335, allocations: 0.5398 MB / 1.382 GB, free: 10.87 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/0.4336, allocations: 49.69 kB / 1.382 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4337, allocations: 60.36 kB / 1.382 GB, free: 10.76 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.4356, allocations: 1.336 MB / 1.383 GB, free: 9.254 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.145e-05/0.4356, allocations: 11.94 kB / 1.383 GB, free: 9.242 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-05/0.4357, allocations: 27.98 kB / 1.383 GB, free: 9.215 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001787/0.4359, allocations: 85.25 kB / 1.384 GB, free: 9.133 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.4371, allocations: 0.7465 MB / 1.384 GB, free: 8.383 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005544/0.4427, allocations: 4.546 MB / 1.389 GB, free: 3.684 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.4437, allocations: 0.5085 MB / 1.389 GB, free: 3.164 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.4441, allocations: 290 kB / 1.389 GB, free: 2.879 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.4442, allocations: 4.438 kB / 1.389 GB, free: 2.875 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.4442, allocations: 42.98 kB / 1.389 GB, free: 2.824 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.605e-06/0.4442, allocations: 0 / 1.389 GB, free: 2.824 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.003732/0.4479, allocations: 1.678 MB / 1.391 GB, free: 1.125 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.448, allocations: 59.84 kB / 1.391 GB, free: 1.055 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/0.4486, allocations: 0.5067 MB / 1.392 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.4486, allocations: 37.7 kB / 1.392 GB, free: 0.4961 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.4489, allocations: 431.8 kB / 1.392 GB, free: 68 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.4491, allocations: 186.4 kB / 1.392 GB, free: 15.88 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.4493, allocations: 126.6 kB / 1.392 GB, free: 15.75 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.4495, allocations: 374.7 kB / 1.393 GB, free: 15.38 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.4499, allocations: 269.8 kB / 1.393 GB, free: 15.12 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006043/0.4505, allocations: 0.4892 MB / 1.394 GB, free: 14.53 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.4516, allocations: 0.8122 MB / 1.394 GB, free: 13.62 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.4516, allocations: 4 kB / 1.394 GB, free: 13.62 MB / 1.092 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001832/0.4534, allocations: 1.07 MB / 1.395 GB, free: 12.53 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.4534, allocations: 8 kB / 1.395 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4535, allocations: 8 kB / 1.395 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000853/0.4543, allocations: 271.5 kB / 1.396 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.4548, allocations: 131.8 kB / 1.396 GB, free: 12.11 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006882/0.4617, allocations: 6.593 MB / 1.402 GB, free: 5.094 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.4622, allocations: 39.97 kB / 1.402 GB, free: 5.055 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.4623, allocations: 28 kB / 1.402 GB, free: 5.027 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0004146/0.4627, allocations: 252.1 kB / 1.403 GB, free: 4.773 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.4628, allocations: 71.58 kB / 1.403 GB, free: 4.703 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.4644, allocations: 0.8764 MB / 1.403 GB, free: 3.809 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.4644, allocations: 4 kB / 1.403 GB, free: 3.805 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.4644, allocations: 4 kB / 1.403 GB, free: 3.801 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.4644, allocations: 7.984 kB / 1.403 GB, free: 3.793 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.4671, allocations: 1.537 MB / 1.405 GB, free: 2.188 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4671, allocations: 3.984 kB / 1.405 GB, free: 2.184 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.4674, allocations: 59.89 kB / 1.405 GB, free: 2.125 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007604/0.4681, allocations: 267.4 kB / 1.405 GB, free: 1.852 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.4682, allocations: 8 kB / 1.405 GB, free: 1.844 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006866/0.475, allocations: 6.595 MB / 1.412 GB, free: 10.84 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.475, allocations: 4.031 kB / 1.412 GB, free: 10.84 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.4766, allocations: 0.9721 MB / 1.413 GB, free: 9.816 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.477, allocations: 111.5 kB / 1.413 GB, free: 9.707 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/0.477, allocations: 11.94 kB / 1.413 GB, free: 9.695 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.4774, allocations: 31.91 kB / 1.413 GB, free: 9.664 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.4775, allocations: 47.98 kB / 1.413 GB, free: 9.617 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.4776, allocations: 19.98 kB / 1.413 GB, free: 9.598 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004229/0.478, allocations: 338.9 kB / 1.413 GB, free: 9.27 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.478, allocations: 0 / 1.413 GB, free: 9.27 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008546/0.4788, allocations: 220 kB / 1.413 GB, free: 9.055 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001729/0.479, allocations: 115.2 kB / 1.414 GB, free: 8.93 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002152/0.4812, allocations: 1.24 MB / 1.415 GB, free: 7.641 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.4812, allocations: 0 / 1.415 GB, free: 7.641 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.4825, allocations: 0.87 MB / 1.416 GB, free: 6.719 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.4836, allocations: 199.5 kB / 1.416 GB, free: 6.531 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.4861, allocations: 1.361 MB / 1.417 GB, free: 5.121 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/0.4867, allocations: 416.8 kB / 1.417 GB, free: 4.684 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000393/0.4871, allocations: 113.5 kB / 1.418 GB, free: 4.57 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.4872, allocations: 39.44 kB / 1.418 GB, free: 4.531 MB / 1.107 GB Notification: Performance of SimCode: time 1.052e-06/0.4872, allocations: 0 / 1.418 GB, free: 4.531 MB / 1.107 GB Notification: Performance of Templates: time 0.02243/0.5097, allocations: 12.31 MB / 1.43 GB, free: 8.461 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 9.459841009229422]