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.0009681/0.0009681, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.000999/0.000999, allocations: 177 kB / 24.08 MB, free: 416 kB / 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 1.009/1.009, allocations: 177.1 MB / 204.5 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.834/1.834, allocations: 377.9 MB / 0.6239 GB, free: 8.379 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.042e-06/1.042e-06, allocations: 0 / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.573e-05, allocations: 3.219 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004009/0.004025, allocations: 4.12 MB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002514/0.006539, allocations: 1.545 MB / 0.8175 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.006832, allocations: 33.28 kB / 0.8176 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.007281, allocations: 166.7 kB / 0.8177 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005877/0.007869, allocations: 372.7 kB / 0.8181 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005852/0.008454, allocations: 337.6 kB / 0.8184 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008969/0.009351, allocations: 0.998 MB / 0.8194 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.009768, allocations: 375 kB / 0.8197 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005968/0.01037, allocations: 0.5235 MB / 0.8203 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.0108, allocations: 384.1 kB / 0.8206 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.932e-05/0.01086, allocations: 48 kB / 0.8207 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.01107, allocations: 131.8 kB / 0.8208 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.01124, allocations: 264.3 kB / 0.821 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.0114, allocations: 239.4 kB / 0.8213 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.01193, allocations: 0.5955 MB / 0.8219 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.01193, allocations: 0.9688 kB / 0.8219 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01193, allocations: 0 / 0.8219 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.01194, allocations: 3.984 kB / 0.8219 GB, free: 7.336 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.0008989/0.01284, allocations: 0.9845 MB / 0.8228 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.01287, allocations: 12.02 kB / 0.8228 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006677/0.01354, allocations: 245.3 kB / 0.8231 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.01402, allocations: 476.3 kB / 0.8235 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.01404, allocations: 37.36 kB / 0.8236 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.44e-05/0.01414, allocations: 52.56 kB / 0.8236 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.01469, allocations: 0.7551 MB / 0.8243 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.0147, allocations: 0.6875 kB / 0.8243 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.01474, allocations: 34.05 kB / 0.8244 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.305e-05/0.01483, allocations: 60.95 kB / 0.8244 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.01509, allocations: 238.4 kB / 0.8247 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.01742, allocations: 4.287 MB / 0.8288 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.01759, allocations: 131.8 kB / 0.829 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.01767, allocations: 89.25 kB / 0.8291 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.01769, allocations: 4.281 kB / 0.8291 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.01772, allocations: 45.61 kB / 0.8291 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.01772, allocations: 1.094 kB / 0.8291 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.00206/0.01978, allocations: 1.346 MB / 0.8304 GB, free: 14.15 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.0198, allocations: 59.41 kB / 0.8305 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.02005, allocations: 458.2 kB / 0.8309 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.02008, allocations: 33.7 kB / 0.8309 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.02025, allocations: 411 kB / 0.8313 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/0.02033, allocations: 150.7 kB / 0.8315 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.02044, allocations: 107.9 kB / 0.8316 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.02058, allocations: 0.5351 MB / 0.8321 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.02068, allocations: 81.23 kB / 0.8322 GB, free: 12.28 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.02088, allocations: 319.2 kB / 0.8325 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.02121, allocations: 442.1 kB / 0.8329 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.02121, allocations: 3.938 kB / 0.8329 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006602/0.02187, allocations: 0.5902 MB / 0.8335 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.02189, allocations: 8 kB / 0.8335 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.02189, allocations: 4 kB / 0.8335 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.02241, allocations: 226.8 kB / 0.8337 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.02262, allocations: 103.8 kB / 0.8338 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.02525, allocations: 5.552 MB / 0.8392 GB, free: 4.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.02543, allocations: 20 kB / 0.8393 GB, free: 4.461 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.02545, allocations: 27.92 kB / 0.8393 GB, free: 4.434 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.0001271/0.02558, allocations: 188.5 kB / 0.8395 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.02564, allocations: 75.61 kB / 0.8395 GB, free: 4.164 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005618/0.02621, allocations: 460.3 kB / 0.84 GB, free: 3.695 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.02621, allocations: 4 kB / 0.84 GB, free: 3.691 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.02621, allocations: 4 kB / 0.84 GB, free: 3.688 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.02622, allocations: 3.984 kB / 0.84 GB, free: 3.684 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009985/0.02722, allocations: 0.9275 MB / 0.8409 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.02722, allocations: 3.984 kB / 0.8409 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.02736, allocations: 51.92 kB / 0.8409 GB, free: 2.625 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/0.02783, allocations: 215 kB / 0.8412 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.02785, allocations: 11.98 kB / 0.8412 GB, free: 2.391 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/0.03027, allocations: 5.547 MB / 0.8466 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.03027, allocations: 4 kB / 0.8466 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.03094, allocations: 0.6908 MB / 0.8473 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.03104, allocations: 83.81 kB / 0.8473 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.03107, allocations: 12 kB / 0.8473 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.0312, allocations: 8 kB / 0.8474 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.03127, allocations: 43.86 kB / 0.8474 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.03128, allocations: 11.94 kB / 0.8474 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001484/0.03143, allocations: 290.7 kB / 0.8477 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.03143, allocations: 0 / 0.8477 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004251/0.03186, allocations: 172 kB / 0.8479 GB, free: 11.13 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.0001211/0.03198, allocations: 111.1 kB / 0.848 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006983/0.03268, allocations: 0.8853 MB / 0.8488 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.03268, allocations: 4 kB / 0.8488 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.03313, allocations: 0.718 MB / 0.8495 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.03364, allocations: 169 kB / 0.8497 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.03497, allocations: 1.147 MB / 0.8508 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.03509, allocations: 182.5 kB / 0.851 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.03524, allocations: 64.8 kB / 0.851 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.03548, allocations: 210.1 kB / 0.8512 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of SimCode: time 1.122e-06/0.03548, allocations: 0 / 0.8512 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of Templates: time 0.011/0.04649, allocations: 9.799 MB / 0.8608 GB, free: 13.86 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.260353009216487]