Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.000959/0.000959, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001613/0.001613, allocations: 162.9 kB / 24.86 MB, free: 8.695 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.9518/0.9518, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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 1.854/1.854, allocations: 377.9 MB / 0.6247 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.776e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.003898/0.003915, allocations: 4.13 MB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.005914, allocations: 1.544 MB / 0.8183 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.006121, allocations: 33.03 kB / 0.8183 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.006593, allocations: 166.7 kB / 0.8185 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.007064, allocations: 372.8 kB / 0.8189 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.007482, allocations: 342.2 kB / 0.8192 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000688/0.00817, allocations: 0.9902 MB / 0.8202 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.00856, allocations: 378.5 kB / 0.8205 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.009009, allocations: 0.5207 MB / 0.821 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.009398, allocations: 387 kB / 0.8214 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.009451, allocations: 51.94 kB / 0.8214 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.009627, allocations: 127.8 kB / 0.8216 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.009792, allocations: 263.8 kB / 0.8218 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.009957, allocations: 240 kB / 0.822 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004755/0.01043, allocations: 0.6032 MB / 0.8226 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01043, allocations: 1.938 kB / 0.8226 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.41e-07/0.01044, allocations: 0 / 0.8226 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.01044, allocations: 0 / 0.8226 GB, free: 7.355 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.000891/0.01133, allocations: 0.9876 MB / 0.8236 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.01136, allocations: 8.031 kB / 0.8236 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006736/0.01204, allocations: 244.7 kB / 0.8238 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.01249, allocations: 474 kB / 0.8243 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.01252, allocations: 37.38 kB / 0.8243 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.75e-05/0.01262, allocations: 56.48 kB / 0.8244 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.01314, allocations: 0.7551 MB / 0.8251 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.01316, allocations: 4.125 kB / 0.8251 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.01319, allocations: 24.12 kB / 0.8251 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.559e-05/0.01329, allocations: 60.95 kB / 0.8252 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.01354, allocations: 230.8 kB / 0.8254 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.01576, allocations: 4.288 MB / 0.8296 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.01598, allocations: 135.8 kB / 0.8297 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.01607, allocations: 76.86 kB / 0.8298 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.01609, allocations: 4.281 kB / 0.8298 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.01612, allocations: 50.27 kB / 0.8299 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.644e-06/0.01612, allocations: 0 / 0.8299 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.002142/0.01826, allocations: 1.359 MB / 0.8312 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.01829, allocations: 55.41 kB / 0.8312 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.01854, allocations: 462.2 kB / 0.8317 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.01856, allocations: 29.7 kB / 0.8317 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.01874, allocations: 419 kB / 0.8321 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.314e-05/0.01882, allocations: 150.7 kB / 0.8323 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.01893, allocations: 111.9 kB / 0.8324 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.01907, allocations: 0.5312 MB / 0.8329 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.376e-05/0.01916, allocations: 77.25 kB / 0.833 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.01936, allocations: 319.3 kB / 0.8333 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.0197, allocations: 450 kB / 0.8337 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.01971, allocations: 3.938 kB / 0.8337 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006771/0.02038, allocations: 0.5746 MB / 0.8343 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.0204, allocations: 12 kB / 0.8343 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.02041, allocations: 4 kB / 0.8343 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.02095, allocations: 234.8 kB / 0.8345 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.02117, allocations: 99.89 kB / 0.8346 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.02382, allocations: 5.552 MB / 0.84 GB, free: 4.496 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.02399, allocations: 16 kB / 0.84 GB, free: 4.48 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.02401, allocations: 20 kB / 0.84 GB, free: 4.461 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001289/0.02414, allocations: 200.4 kB / 0.8402 GB, free: 4.254 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.02421, allocations: 71.61 kB / 0.8403 GB, free: 4.184 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005797/0.02479, allocations: 452.4 kB / 0.8407 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.02479, allocations: 4 kB / 0.8407 GB, free: 3.719 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.0248, allocations: 4 kB / 0.8407 GB, free: 3.715 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.0248, allocations: 7.984 kB / 0.8408 GB, free: 3.707 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.02581, allocations: 0.9315 MB / 0.8417 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.02581, allocations: 4.031 kB / 0.8417 GB, free: 2.695 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.02596, allocations: 55.91 kB / 0.8417 GB, free: 2.641 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.02645, allocations: 214.8 kB / 0.8419 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.02647, allocations: 8 kB / 0.8419 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002498/0.02897, allocations: 5.551 MB / 0.8474 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.02897, allocations: 3.984 kB / 0.8474 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007396/0.02971, allocations: 0.6908 MB / 0.848 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.02982, allocations: 83.61 kB / 0.8481 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.02986, allocations: 8 kB / 0.8481 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.02999, allocations: 8 kB / 0.8481 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.03006, allocations: 39.94 kB / 0.8482 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.03007, allocations: 4 kB / 0.8482 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001545/0.03023, allocations: 290.6 kB / 0.8484 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.03023, allocations: 0 / 0.8484 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004061/0.03063, allocations: 176 kB / 0.8486 GB, free: 11.16 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001099/0.03074, allocations: 115.2 kB / 0.8487 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007144/0.03146, allocations: 0.8783 MB / 0.8496 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03146, allocations: 4.125 kB / 0.8496 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.03192, allocations: 0.7248 MB / 0.8503 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.03243, allocations: 160.6 kB / 0.8504 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.03384, allocations: 1.148 MB / 0.8516 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.03397, allocations: 178.5 kB / 0.8517 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001516/0.03412, allocations: 68.81 kB / 0.8518 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.03438, allocations: 214.1 kB / 0.852 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of SimCode: time 7.31e-07/0.03438, allocations: 0 / 0.852 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of Templates: time 0.01168/0.04606, allocations: 9.981 MB / 0.8618 GB, free: 13.73 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.191900596022606]