Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0008077/0.0008077, allocations: 76.5 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.0008138/0.0008138, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8631/0.8631, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.801/1.801, allocations: 389 MB / 0.6338 GB, free: 12.72 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.985e-05, allocations: 6.219 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02275/0.02277, allocations: 32.99 MB / 1.033 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.03402, allocations: 9.862 MB / 1.043 GB, free: 2 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.03557, allocations: 190.6 kB / 1.043 GB, free: 1.812 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.4256/0.4611, allocations: 3.827 MB / 1.047 GB, free: 52.08 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.4652, allocations: 2.204 MB / 1.049 GB, free: 51.84 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002915/0.4681, allocations: 1.996 MB / 1.051 GB, free: 51.77 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00512/0.4732, allocations: 8.13 MB / 1.059 GB, free: 50.51 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004417/0.4776, allocations: 5.247 MB / 1.064 GB, free: 49.13 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004739/0.4824, allocations: 4.896 MB / 1.069 GB, free: 47.07 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003117/0.4855, allocations: 3.452 MB / 1.072 GB, free: 46.25 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0007894/0.4863, allocations: 0.6774 MB / 1.073 GB, free: 46.25 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.4883, allocations: 1.382 MB / 1.074 GB, free: 46.11 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.002032/0.4903, allocations: 2.805 MB / 1.077 GB, free: 44.91 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001992/0.4923, allocations: 2.166 MB / 1.079 GB, free: 43.96 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00848/0.5008, allocations: 10.58 MB / 1.089 GB, free: 40.95 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5008, allocations: 1.781 kB / 1.089 GB, free: 40.95 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5008, allocations: 0 / 1.089 GB, free: 40.95 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000213/0.501, allocations: 0 / 1.089 GB, free: 40.95 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.008406/0.5094, allocations: 5.409 MB / 1.094 GB, free: 38 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5095, allocations: 9.812 kB / 1.094 GB, free: 38 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/0.5123, allocations: 1.001 MB / 1.095 GB, free: 37.68 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/0.5162, allocations: 3.133 MB / 1.099 GB, free: 36.25 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.5164, allocations: 357.7 kB / 1.099 GB, free: 36.1 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005355/0.517, allocations: 472.8 kB / 1.099 GB, free: 35.95 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009084/0.526, allocations: 8.659 MB / 1.108 GB, free: 31.64 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.451e-05/0.5261, allocations: 23.23 kB / 1.108 GB, free: 31.64 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003869/0.5265, allocations: 215 kB / 1.108 GB, free: 31.49 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003697/0.5269, allocations: 373 kB / 1.108 GB, free: 31.44 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00704/0.5339, allocations: 5.931 MB / 1.114 GB, free: 29.44 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/0.5526, allocations: 22.91 MB / 1.137 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.5547, allocations: 1.994 MB / 1.138 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.5559, allocations: 1.329 MB / 1.14 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.346e-05/0.5559, allocations: 16.34 kB / 1.14 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.556, allocations: 58.33 kB / 1.14 GB, free: 12.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=157): time 3.867e-06/0.556, allocations: 3.938 kB / 1.14 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of matching and sorting (n=160): time 0.008252/0.5642, allocations: 6.651 MB / 1.146 GB, free: 9.746 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.5643, allocations: 72.38 kB / 1.146 GB, free: 9.676 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.5658, allocations: 1.709 MB / 1.148 GB, free: 8.969 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.443e-05/0.5658, allocations: 57.23 kB / 1.148 GB, free: 8.914 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006292/0.5665, allocations: 2.187 MB / 1.15 GB, free: 7.25 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.5667, allocations: 0.5753 MB / 1.151 GB, free: 6.797 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.5671, allocations: 401.4 kB / 1.151 GB, free: 6.594 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.29e-05/0.5671, allocations: 304 kB / 1.151 GB, free: 6.297 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.5682, allocations: 1.063 MB / 1.153 GB, free: 5.844 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.5694, allocations: 1.763 MB / 1.154 GB, free: 4.395 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/0.5717, allocations: 3.043 MB / 1.157 GB, free: 2.309 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/0.5717, allocations: 7.188 kB / 1.157 GB, free: 2.309 MB / 0.9948 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003688/0.5754, allocations: 3.889 MB / 1.161 GB, free: 360 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5754, allocations: 12.69 kB / 1.161 GB, free: 360 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.5754, allocations: 21.78 kB / 1.161 GB, free: 360 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.5767, allocations: 0.9436 MB / 1.162 GB, free: 15.85 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/0.5775, allocations: 423.8 kB / 1.162 GB, free: 15.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.5896, allocations: 21.11 MB / 1.183 GB, free: 13.12 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.5911, allocations: 121.4 kB / 1.183 GB, free: 13.06 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.5912, allocations: 91.84 kB / 1.183 GB, free: 13.04 MB / 1.026 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002454/0.5937, allocations: 1.65 MB / 1.185 GB, free: 12.05 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.594, allocations: 247.9 kB / 1.185 GB, free: 11.93 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/0.5973, allocations: 3.231 MB / 1.188 GB, free: 9.352 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.5973, allocations: 20 kB / 1.188 GB, free: 9.332 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.5973, allocations: 12 kB / 1.188 GB, free: 9.32 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.5973, allocations: 7.969 kB / 1.188 GB, free: 9.312 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007703/0.605, allocations: 6.434 MB / 1.195 GB, free: 2.836 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.605, allocations: 8.062 kB / 1.195 GB, free: 2.828 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.6055, allocations: 213.5 kB / 1.195 GB, free: 2.629 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.6068, allocations: 0.8953 MB / 1.196 GB, free: 1.707 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.388e-05/0.6068, allocations: 35.94 kB / 1.196 GB, free: 1.672 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/0.6191, allocations: 21.07 MB / 1.216 GB, free: 11.44 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6191, allocations: 7.938 kB / 1.216 GB, free: 11.43 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.6229, allocations: 3.329 MB / 1.219 GB, free: 7.992 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007993/0.6237, allocations: 458.2 kB / 1.22 GB, free: 7.543 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.6238, allocations: 39.94 kB / 1.22 GB, free: 7.504 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/0.6244, allocations: 91.89 kB / 1.22 GB, free: 7.414 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/0.6247, allocations: 148 kB / 1.22 GB, free: 7.273 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/0.6248, allocations: 47.94 kB / 1.22 GB, free: 7.227 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001054/0.6258, allocations: 1.094 MB / 1.221 GB, free: 6.113 MB / 1.057 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6258, allocations: 0 / 1.221 GB, free: 6.113 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002365/0.6282, allocations: 0.9023 MB / 1.222 GB, free: 5.211 MB / 1.057 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.0002096/0.6284, allocations: 157.5 kB / 1.222 GB, free: 5.047 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.004046/0.6324, allocations: 4.282 MB / 1.227 GB, free: 0.6562 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6325, allocations: 11.53 kB / 1.227 GB, free: 0.6484 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.6347, allocations: 2.894 MB / 1.229 GB, free: 13.6 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.6365, allocations: 0.7516 MB / 1.23 GB, free: 12.86 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00967/0.6462, allocations: 8.413 MB / 1.238 GB, free: 4.352 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/0.6487, allocations: 2.739 MB / 1.241 GB, free: 1.578 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.6491, allocations: 148.5 kB / 1.241 GB, free: 1.434 MB / 1.073 GB Notification: Performance of SimCode: time 1.402e-06/0.6491, allocations: 0 / 1.241 GB, free: 1.434 MB / 1.073 GB Notification: Performance of Templates: time 0.5658/1.215, allocations: 340.5 MB / 1.574 GB, free: 475 MB / 1.401 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 15.339961264282465]