Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001377/0.001377, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001611/0.001611, allocations: 210.6 kB / 23.01 MB, free: 4.57 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.387/3.387, allocations: 0.49 GB / 0.7958 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_12_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_12_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.002066/0.002066, allocations: 68.12 kB / 1.155 GB, free: 25.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3986, allocations: 176.1 MB / 1.327 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009755/0.4083, allocations: 7.083 MB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005804/0.4141, allocations: 3.223 MB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005673/0.4147, allocations: 47.62 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002676/0.4174, allocations: 0.9899 MB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.4187, allocations: 0.5167 MB / 1.339 GB, free: 5.445 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.4198, allocations: 456.2 kB / 1.339 GB, free: 5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.4213, allocations: 1.229 MB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008282/0.4221, allocations: 0.5373 MB / 1.341 GB, free: 3.219 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006513/0.4228, allocations: 490.2 kB / 1.341 GB, free: 2.738 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007794/0.4235, allocations: 0.5565 MB / 1.342 GB, free: 2.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.4236, allocations: 68 kB / 1.342 GB, free: 2.113 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007187/0.4244, allocations: 387.2 kB / 1.342 GB, free: 1.734 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.4247, allocations: 319 kB / 1.343 GB, free: 1.422 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004578/0.4251, allocations: 461.7 kB / 1.343 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.4266, allocations: 1.222 MB / 1.344 GB, free: 15.74 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4266, allocations: 4 kB / 1.344 GB, free: 15.74 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4266, allocations: 0 / 1.344 GB, free: 15.74 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.4266, allocations: 0 / 1.344 GB, free: 15.74 MB / 1.045 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.001999/0.4286, allocations: 1.121 MB / 1.345 GB, free: 14.58 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4286, allocations: 8.031 kB / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.4302, allocations: 244.1 kB / 1.346 GB, free: 14.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.4312, allocations: 0.5321 MB / 1.346 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.4312, allocations: 53.67 kB / 1.346 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.4313, allocations: 64.3 kB / 1.346 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.4329, allocations: 1.085 MB / 1.347 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.4329, allocations: 11.89 kB / 1.347 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.433, allocations: 31.98 kB / 1.347 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/0.4332, allocations: 85.25 kB / 1.347 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.4344, allocations: 0.7543 MB / 1.348 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00606/0.4405, allocations: 5.803 MB / 1.354 GB, free: 5.371 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.4415, allocations: 0.5147 MB / 1.354 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.4419, allocations: 282 kB / 1.355 GB, free: 4.566 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.442, allocations: 4.438 kB / 1.355 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.442, allocations: 42.94 kB / 1.355 GB, free: 4.512 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.485e-06/0.442, allocations: 4 kB / 1.355 GB, free: 4.508 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003778/0.4458, allocations: 1.679 MB / 1.356 GB, free: 2.812 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.4458, allocations: 55.84 kB / 1.356 GB, free: 2.746 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007008/0.4465, allocations: 0.5626 MB / 1.357 GB, free: 2.172 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.4466, allocations: 41.7 kB / 1.357 GB, free: 2.125 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.4469, allocations: 428 kB / 1.357 GB, free: 1.703 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.4471, allocations: 182.5 kB / 1.357 GB, free: 1.523 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.4473, allocations: 126.6 kB / 1.358 GB, free: 1.395 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.4475, allocations: 378.7 kB / 1.358 GB, free: 1.016 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.4479, allocations: 277.8 kB / 1.358 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.4485, allocations: 493.5 kB / 1.359 GB, free: 172 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.4497, allocations: 0.8122 MB / 1.359 GB, free: 15.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4497, allocations: 0 / 1.359 GB, free: 15.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001869/0.4515, allocations: 1.078 MB / 1.361 GB, free: 14.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.4516, allocations: 8 kB / 1.361 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.4516, allocations: 11.98 kB / 1.361 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008728/0.4524, allocations: 283.2 kB / 1.361 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.4529, allocations: 119.8 kB / 1.361 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007261/0.4602, allocations: 6.733 MB / 1.368 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006429/0.4608, allocations: 35.97 kB / 1.368 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.4609, allocations: 32 kB / 1.368 GB, free: 6.469 MB / 1.061 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.0004199/0.4613, allocations: 253.5 kB / 1.368 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.4615, allocations: 79.59 kB / 1.368 GB, free: 6.133 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.4632, allocations: 0.8769 MB / 1.369 GB, free: 5.234 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.4632, allocations: 4 kB / 1.369 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4632, allocations: 4 kB / 1.369 GB, free: 5.227 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4632, allocations: 3.984 kB / 1.369 GB, free: 5.223 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.4661, allocations: 1.696 MB / 1.37 GB, free: 3.445 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.4661, allocations: 0 / 1.37 GB, free: 3.445 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.4663, allocations: 71.81 kB / 1.371 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007693/0.4671, allocations: 271.3 kB / 1.371 GB, free: 3.098 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.4671, allocations: 12 kB / 1.371 GB, free: 3.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00707/0.4742, allocations: 6.705 MB / 1.377 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4742, allocations: 3.938 kB / 1.377 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.4759, allocations: 0.9764 MB / 1.378 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.4762, allocations: 115.5 kB / 1.378 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.401e-05/0.4763, allocations: 12.14 kB / 1.378 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.4767, allocations: 35.91 kB / 1.378 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.4768, allocations: 51.83 kB / 1.378 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.4769, allocations: 16 kB / 1.378 GB, free: 10.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004796/0.4773, allocations: 387.1 kB / 1.379 GB, free: 10.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4773, allocations: 0 / 1.379 GB, free: 10.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008325/0.4782, allocations: 224 kB / 1.379 GB, free: 10.07 MB / 1.076 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.0001816/0.4784, allocations: 125.2 kB / 1.379 GB, free: 9.941 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.4804, allocations: 1.24 MB / 1.38 GB, free: 8.656 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4804, allocations: 4 kB / 1.38 GB, free: 8.652 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.4818, allocations: 0.8619 MB / 1.381 GB, free: 7.738 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4828, allocations: 222.3 kB / 1.381 GB, free: 7.527 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.4852, allocations: 1.432 MB / 1.383 GB, free: 6.039 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/0.4859, allocations: 1.009 MB / 1.384 GB, free: 5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.4861, allocations: 51.42 kB / 1.384 GB, free: 4.949 MB / 1.076 GB Notification: Performance of SimCode: time 8.91e-07/0.4861, allocations: 0 / 1.384 GB, free: 4.949 MB / 1.076 GB Notification: Performance of Templates: time 0.02672/0.5128, allocations: 20.95 MB / 1.404 GB, free: 56 kB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.560105204989668]