Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008573/0.0008573, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000869/0.000869, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8871/0.8871, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.334e-05, allocations: 10.16 kB / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007592/0.007615, allocations: 6.461 MB / 0.958 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003771/0.01139, allocations: 3.039 MB / 0.961 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.0117, allocations: 35.69 kB / 0.961 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.01292, allocations: 0.9507 MB / 0.962 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0008022/0.01372, allocations: 0.5395 MB / 0.9625 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007177/0.01444, allocations: 452.9 kB / 0.9629 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.01547, allocations: 1.263 MB / 0.9642 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006799/0.01615, allocations: 0.5411 MB / 0.9647 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006952/0.01685, allocations: 0.6585 MB / 0.9653 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005637/0.01741, allocations: 482.6 kB / 0.9658 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.592e-05/0.0175, allocations: 68 kB / 0.9659 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005247/0.01802, allocations: 351.1 kB / 0.9662 GB, free: 4.105 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.01825, allocations: 327 kB / 0.9665 GB, free: 3.785 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.0185, allocations: 323.2 kB / 0.9668 GB, free: 3.469 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.01974, allocations: 1.238 MB / 0.968 GB, free: 2.223 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01974, allocations: 4 kB / 0.968 GB, free: 2.219 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.383e-06/0.01974, allocations: 3.938 kB / 0.968 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.217e-05/0.01976, allocations: 0 / 0.968 GB, free: 2.215 MB / 0.9167 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.001588/0.02135, allocations: 1.108 MB / 0.9691 GB, free: 1.07 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.0214, allocations: 12.03 kB / 0.9691 GB, free: 1.059 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000874/0.02227, allocations: 244.1 kB / 0.9694 GB, free: 0.8203 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006894/0.02296, allocations: 0.543 MB / 0.9699 GB, free: 256 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.02299, allocations: 45.67 kB / 0.9699 GB, free: 208 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.02306, allocations: 72.36 kB / 0.97 GB, free: 136 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.0242, allocations: 1.332 MB / 0.9713 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.02423, allocations: 4.125 kB / 0.9713 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.02428, allocations: 36.36 kB / 0.9713 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.02439, allocations: 93.19 kB / 0.9714 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007858/0.02517, allocations: 0.7465 MB / 0.9722 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/0.02858, allocations: 4.519 MB / 0.9766 GB, free: 9.082 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.02925, allocations: 0.5049 MB / 0.9771 GB, free: 8.566 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.02953, allocations: 286 kB / 0.9773 GB, free: 8.289 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.02956, allocations: 8.5 kB / 0.9773 GB, free: 8.277 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.02959, allocations: 43.06 kB / 0.9774 GB, free: 8.227 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 1.844e-06/0.02959, allocations: 0 / 0.9774 GB, free: 8.227 MB / 0.9323 GB Notification: Performance of matching and sorting (n=48): time 0.002227/0.03182, allocations: 1.681 MB / 0.979 GB, free: 6.523 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.03185, allocations: 59.84 kB / 0.9791 GB, free: 6.453 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.03226, allocations: 0.5144 MB / 0.9796 GB, free: 5.93 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.03229, allocations: 33.7 kB / 0.9796 GB, free: 5.891 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.03248, allocations: 431.8 kB / 0.98 GB, free: 5.461 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.03258, allocations: 182.5 kB / 0.9802 GB, free: 5.281 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.03271, allocations: 122.6 kB / 0.9803 GB, free: 5.156 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.03282, allocations: 370.8 kB / 0.9807 GB, free: 4.785 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000597/0.03342, allocations: 277.8 kB / 0.9809 GB, free: 4.512 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.03379, allocations: 492.9 kB / 0.9814 GB, free: 3.938 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006924/0.03448, allocations: 0.8086 MB / 0.9822 GB, free: 3.035 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.03448, allocations: 0 / 0.9822 GB, free: 3.035 MB / 0.9323 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001104/0.03559, allocations: 1.07 MB / 0.9832 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.03561, allocations: 8 kB / 0.9833 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.03562, allocations: 15.92 kB / 0.9833 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005033/0.03612, allocations: 283.6 kB / 0.9835 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.03637, allocations: 119.8 kB / 0.9837 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00441/0.04078, allocations: 6.586 MB / 0.9901 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.04102, allocations: 35.95 kB / 0.9901 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.04105, allocations: 36.25 kB / 0.9902 GB, free: 10.45 MB / 0.948 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.0002355/0.04128, allocations: 254.2 kB / 0.9904 GB, free: 10.19 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.04135, allocations: 67.58 kB / 0.9905 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009451/0.04229, allocations: 0.8779 MB / 0.9913 GB, free: 9.227 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.0423, allocations: 12 kB / 0.9913 GB, free: 9.215 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.0423, allocations: 4 kB / 0.9913 GB, free: 9.211 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.04231, allocations: 3.938 kB / 0.9913 GB, free: 9.207 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.04385, allocations: 1.529 MB / 0.9928 GB, free: 7.609 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.04385, allocations: 0 / 0.9928 GB, free: 7.609 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.04398, allocations: 64.14 kB / 0.9929 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004203/0.0444, allocations: 271.1 kB / 0.9932 GB, free: 7.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.04442, allocations: 12 kB / 0.9932 GB, free: 7.258 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004208/0.04863, allocations: 6.579 MB / 0.9996 GB, free: 276 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.04863, allocations: 0 / 0.9996 GB, free: 276 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009247/0.04956, allocations: 0.966 MB / 1.001 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.0497, allocations: 111.5 kB / 1.001 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.04973, allocations: 12.06 kB / 1.001 GB, free: 15.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.0499, allocations: 39.89 kB / 1.001 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.04997, allocations: 43.98 kB / 1.001 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.04999, allocations: 20 kB / 1.001 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002411/0.05023, allocations: 350.8 kB / 1.001 GB, free: 14.69 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.05023, allocations: 0 / 1.001 GB, free: 14.69 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004857/0.05072, allocations: 220 kB / 1.001 GB, free: 14.48 MB / 0.9636 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.0001185/0.05084, allocations: 119.3 kB / 1.001 GB, free: 14.35 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.05222, allocations: 1.232 MB / 1.003 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.05222, allocations: 0 / 1.003 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006064/0.05283, allocations: 0.8619 MB / 1.003 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.0534, allocations: 202.1 kB / 1.004 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.05476, allocations: 1.4 MB / 1.005 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.05501, allocations: 420.7 kB / 1.005 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.05511, allocations: 44.5 kB / 1.005 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/0.05512, allocations: 0 / 1.005 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of Templates: time 0.01394/0.06905, allocations: 20.91 MB / 1.026 GB, free: 5.156 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.116696522571146]