Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001345/0.001345, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.001461/0.001461, allocations: 169.2 kB / 22.46 MB, free: 5.363 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.833/2.833, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.539e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04536/0.04539, allocations: 35.67 MB / 1.016 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02017/0.06556, allocations: 10.95 MB / 1.027 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/0.069, allocations: 210.5 kB / 1.027 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01202/0.08102, allocations: 4.396 MB / 1.031 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006996/0.08802, allocations: 2.396 MB / 1.034 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005879/0.09389, allocations: 2.181 MB / 1.036 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01327/0.1072, allocations: 9.465 MB / 1.045 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01233/0.1195, allocations: 6.358 MB / 1.051 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01383/0.1333, allocations: 5.781 MB / 1.057 GB, free: 14.22 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008726/0.142, allocations: 4.185 MB / 1.061 GB, free: 10.03 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002379/0.1444, allocations: 0.8281 MB / 1.062 GB, free: 9.199 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004574/0.149, allocations: 1.517 MB / 1.063 GB, free: 7.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.005164/0.1542, allocations: 3.371 MB / 1.067 GB, free: 4.301 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005302/0.1595, allocations: 2.561 MB / 1.069 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0183/0.1778, allocations: 12.57 MB / 1.081 GB, free: 5.133 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1778, allocations: 0 / 1.081 GB, free: 5.133 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1778, allocations: 0 / 1.081 GB, free: 5.133 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0004606/0.1782, allocations: 0 / 1.081 GB, free: 5.133 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01975/0.198, allocations: 6.333 MB / 1.088 GB, free: 14.74 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.198, allocations: 8.031 kB / 1.088 GB, free: 14.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00695/0.205, allocations: 1.11 MB / 1.089 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008712/0.2137, allocations: 3.571 MB / 1.092 GB, free: 9.988 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004341/0.2141, allocations: 427.7 kB / 1.093 GB, free: 9.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001773/0.2159, allocations: 0.5432 MB / 1.093 GB, free: 9.027 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02228/0.2382, allocations: 10.28 MB / 1.103 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/0.2383, allocations: 24 kB / 1.103 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000775/0.2391, allocations: 248.3 kB / 1.103 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006531/0.2397, allocations: 418.9 kB / 1.104 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.2553, allocations: 7.123 MB / 1.111 GB, free: 6.383 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5252/0.7805, allocations: 25.32 MB / 1.136 GB, free: 162.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00378/0.7843, allocations: 2.894 MB / 1.138 GB, free: 162.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/0.7866, allocations: 1.931 MB / 1.14 GB, free: 162.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.7867, allocations: 21.94 kB / 1.14 GB, free: 162.2 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.7868, allocations: 63.41 kB / 1.14 GB, free: 162.2 MB / 1.076 GB Notification: Performance of pre-optimization done (n=209): time 4.248e-06/0.7868, allocations: 0 / 1.14 GB, free: 162.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=212): time 0.02241/0.8092, allocations: 10.25 MB / 1.15 GB, free: 159.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.8092, allocations: 81.45 kB / 1.15 GB, free: 159.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.8114, allocations: 1.831 MB / 1.152 GB, free: 158.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.8116, allocations: 64.75 kB / 1.152 GB, free: 158.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009748/0.8125, allocations: 2.482 MB / 1.155 GB, free: 157 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004303/0.813, allocations: 0.7592 MB / 1.155 GB, free: 156.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006496/0.8136, allocations: 476.6 kB / 1.156 GB, free: 156.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.785e-05/0.8136, allocations: 301.1 kB / 1.156 GB, free: 155.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.8153, allocations: 1.374 MB / 1.158 GB, free: 155.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.8171, allocations: 2.107 MB / 1.16 GB, free: 154 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004075/0.8212, allocations: 3.766 MB / 1.163 GB, free: 151.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/0.8212, allocations: 6.625 kB / 1.163 GB, free: 151.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007522/0.8288, allocations: 5.009 MB / 1.168 GB, free: 149.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.8288, allocations: 15.41 kB / 1.168 GB, free: 149.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/0.8288, allocations: 23.16 kB / 1.168 GB, free: 149.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003423/0.8322, allocations: 1.578 MB / 1.17 GB, free: 149.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.8339, allocations: 457.8 kB / 1.17 GB, free: 149.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/0.854, allocations: 17.78 MB / 1.188 GB, free: 139 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/0.8573, allocations: 143.1 kB / 1.188 GB, free: 138.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002471/0.8575, allocations: 110.9 kB / 1.188 GB, free: 138.9 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004257/0.8618, allocations: 1.947 MB / 1.19 GB, free: 138.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005091/0.8623, allocations: 281 kB / 1.19 GB, free: 137.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006994/0.8693, allocations: 4.395 MB / 1.194 GB, free: 136.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.8693, allocations: 19.66 kB / 1.194 GB, free: 136.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/0.8693, allocations: 18.55 kB / 1.194 GB, free: 136.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.8693, allocations: 10.08 kB / 1.194 GB, free: 136.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.8829, allocations: 8.349 MB / 1.202 GB, free: 132.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.883, allocations: 4.375 kB / 1.202 GB, free: 132.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.884, allocations: 235.8 kB / 1.203 GB, free: 132.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003472/0.8875, allocations: 1.425 MB / 1.204 GB, free: 132.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.8876, allocations: 41.89 kB / 1.204 GB, free: 132.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/0.908, allocations: 17.78 MB / 1.221 GB, free: 121.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.908, allocations: 5.438 kB / 1.221 GB, free: 121.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006429/0.9144, allocations: 4.47 MB / 1.226 GB, free: 119.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.9157, allocations: 0.5461 MB / 1.226 GB, free: 119.6 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003446/0.9161, allocations: 42.44 kB / 1.226 GB, free: 119.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.9174, allocations: 116.8 kB / 1.227 GB, free: 119.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006543/0.9181, allocations: 188.9 kB / 1.227 GB, free: 119.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.9182, allocations: 57.84 kB / 1.227 GB, free: 119.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001426/0.9196, allocations: 1.171 MB / 1.228 GB, free: 119 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9196, allocations: 0 / 1.228 GB, free: 119 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003207/0.9228, allocations: 1.141 MB / 1.229 GB, free: 118.9 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002835/0.9231, allocations: 161.4 kB / 1.229 GB, free: 118.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005958/0.9291, allocations: 4.544 MB / 1.234 GB, free: 116.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.9291, allocations: 5 kB / 1.234 GB, free: 116.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003707/0.9328, allocations: 2.789 MB / 1.236 GB, free: 114.2 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/0.936, allocations: 0.8383 MB / 1.237 GB, free: 113.6 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.9493, allocations: 9.52 MB / 1.246 GB, free: 104.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002939/0.9522, allocations: 3.162 MB / 1.25 GB, free: 101.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001523/0.9537, allocations: 0.5265 MB / 1.25 GB, free: 100.9 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.9541, allocations: 136.5 kB / 1.25 GB, free: 100.8 MB / 1.076 GB Notification: Performance of SimCode: time 1.213e-06/0.9541, allocations: 0 / 1.25 GB, free: 100.8 MB / 1.076 GB Notification: Performance of Templates: time 0.06931/1.023, allocations: 51.99 MB / 1.301 GB, free: 49.88 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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: 10.489542707800865]