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.001183/0.001183, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008383/0.0008383, allocations: 177.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.8684/0.8684, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.733/1.733, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 3.938 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.271e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005391/0.005414, allocations: 6.466 MB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002837/0.00825, allocations: 3.016 MB / 1.01 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.008483, allocations: 39.62 kB / 1.01 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.009702, allocations: 0.9553 MB / 1.011 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005641/0.01027, allocations: 0.5396 MB / 1.012 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.01077, allocations: 462.1 kB / 1.012 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007464/0.01152, allocations: 1.259 MB / 1.013 GB, free: 244 kB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005748/0.01209, allocations: 0.5411 MB / 1.014 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.01259, allocations: 0.6702 MB / 1.015 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004042/0.01299, allocations: 470.7 kB / 1.015 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.167e-05/0.01306, allocations: 68 kB / 1.015 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.01336, allocations: 351.1 kB / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.01356, allocations: 335 kB / 1.016 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.01375, allocations: 311.2 kB / 1.016 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0008152/0.01456, allocations: 1.246 MB / 1.017 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.01456, allocations: 3.938 kB / 1.017 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01456, allocations: 0 / 1.017 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.01457, allocations: 0 / 1.017 GB, free: 12.26 MB / 0.9792 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.001129/0.0157, allocations: 1.112 MB / 1.018 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.01574, allocations: 8.75 kB / 1.018 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007453/0.01648, allocations: 248.1 kB / 1.019 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.01705, allocations: 0.5352 MB / 1.019 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.01707, allocations: 53.67 kB / 1.019 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.475e-05/0.01714, allocations: 56.38 kB / 1.019 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009595/0.0181, allocations: 1.336 MB / 1.02 GB, free: 8.684 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.01812, allocations: 12.12 kB / 1.02 GB, free: 8.672 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.01816, allocations: 28.36 kB / 1.02 GB, free: 8.645 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.724e-05/0.01825, allocations: 89.19 kB / 1.021 GB, free: 8.559 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007084/0.01896, allocations: 0.7504 MB / 1.021 GB, free: 7.809 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.02164, allocations: 4.511 MB / 1.026 GB, free: 3.141 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.02223, allocations: 0.5127 MB / 1.026 GB, free: 2.617 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.02248, allocations: 286.2 kB / 1.026 GB, free: 2.336 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.0225, allocations: 8.5 kB / 1.026 GB, free: 2.324 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.02252, allocations: 43 kB / 1.027 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=47): time 1.443e-06/0.02252, allocations: 0 / 1.027 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of matching and sorting (n=48): time 0.001994/0.02452, allocations: 1.681 MB / 1.028 GB, free: 0.5742 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.02455, allocations: 59.91 kB / 1.028 GB, free: 0.5039 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.0249, allocations: 0.5144 MB / 1.029 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.02493, allocations: 37.7 kB / 1.029 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.0251, allocations: 423.8 kB / 1.029 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.344e-05/0.02518, allocations: 182.5 kB / 1.029 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.02529, allocations: 126.6 kB / 1.029 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.02539, allocations: 370.8 kB / 1.03 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.02565, allocations: 273.8 kB / 1.03 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.02599, allocations: 489 kB / 1.031 GB, free: 14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.02663, allocations: 0.8125 MB / 1.031 GB, free: 13.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.02663, allocations: 4 kB / 1.031 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001106/0.02774, allocations: 1.066 MB / 1.032 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.02776, allocations: 8 kB / 1.032 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.02776, allocations: 8.875 kB / 1.032 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/0.02823, allocations: 287.1 kB / 1.033 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.02847, allocations: 123.8 kB / 1.033 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/0.03217, allocations: 6.599 MB / 1.039 GB, free: 4.559 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.03239, allocations: 39.97 kB / 1.039 GB, free: 4.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.03242, allocations: 31.92 kB / 1.039 GB, free: 4.488 MB / 0.9948 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.0001951/0.03262, allocations: 253.5 kB / 1.04 GB, free: 4.23 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.809e-05/0.03267, allocations: 67.58 kB / 1.04 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008787/0.03355, allocations: 0.878 MB / 1.04 GB, free: 3.27 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.03355, allocations: 4 kB / 1.04 GB, free: 3.266 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.03356, allocations: 4 kB / 1.04 GB, free: 3.262 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.03356, allocations: 3.984 kB / 1.04 GB, free: 3.258 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.03497, allocations: 1.529 MB / 1.042 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.03498, allocations: 4 kB / 1.042 GB, free: 1.656 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.0351, allocations: 59.89 kB / 1.042 GB, free: 1.598 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003814/0.03548, allocations: 263.6 kB / 1.042 GB, free: 1.328 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.0355, allocations: 12 kB / 1.042 GB, free: 1.316 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003603/0.0391, allocations: 6.599 MB / 1.049 GB, free: 10.31 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.0391, allocations: 8.016 kB / 1.049 GB, free: 10.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.03996, allocations: 0.9661 MB / 1.05 GB, free: 9.285 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.0401, allocations: 111.5 kB / 1.05 GB, free: 9.176 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.04014, allocations: 12 kB / 1.05 GB, free: 9.164 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.0403, allocations: 27.95 kB / 1.05 GB, free: 9.137 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.04036, allocations: 51.8 kB / 1.05 GB, free: 9.086 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.04038, allocations: 16 kB / 1.05 GB, free: 9.07 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002237/0.04061, allocations: 346.8 kB / 1.05 GB, free: 8.734 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.04061, allocations: 0 / 1.05 GB, free: 8.734 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004507/0.04106, allocations: 224 kB / 1.05 GB, free: 8.516 MB / 1.01 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.000118/0.04118, allocations: 119.1 kB / 1.051 GB, free: 8.391 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.04228, allocations: 1.229 MB / 1.052 GB, free: 7.113 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.04228, allocations: 0 / 1.052 GB, free: 7.113 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006853/0.04296, allocations: 0.858 MB / 1.053 GB, free: 6.203 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.04353, allocations: 202.8 kB / 1.053 GB, free: 6.016 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.04489, allocations: 1.414 MB / 1.054 GB, free: 4.543 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.04514, allocations: 420.8 kB / 1.055 GB, free: 4.105 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.04524, allocations: 40.5 kB / 1.055 GB, free: 4.066 MB / 1.01 GB Notification: Performance of SimCode: time 6.91e-07/0.04524, allocations: 0 / 1.055 GB, free: 4.066 MB / 1.01 GB Notification: Performance of Templates: time 0.4123/0.4575, allocations: 20.91 MB / 1.075 GB, free: 94.28 MB / 1.01 GB " [Timeout remaining time 300] 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: 8.408992553129792]