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.001471/0.001471, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001797/0.001797, allocations: 165 kB / 23.82 MB, free: 0.75 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.8947/0.8947, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.803/1.803, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.593e-06/1.593e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.412e-05, allocations: 3.25 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004173/0.004197, allocations: 4.201 MB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.006771, allocations: 1.541 MB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.007104, allocations: 31.69 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005527/0.007657, allocations: 179.8 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006335/0.00829, allocations: 372.7 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.008921, allocations: 333.1 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.009959, allocations: 0.9909 MB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005009/0.01046, allocations: 379.4 kB / 0.8193 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006242/0.01108, allocations: 0.522 MB / 0.8199 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.01154, allocations: 392.8 kB / 0.8202 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.888e-05/0.0116, allocations: 48 kB / 0.8203 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.01182, allocations: 123.8 kB / 0.8204 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.012, allocations: 268 kB / 0.8207 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.01219, allocations: 239.4 kB / 0.8209 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005701/0.01276, allocations: 0.594 MB / 0.8215 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01276, allocations: 4 kB / 0.8215 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.11e-07/0.01276, allocations: 0 / 0.8215 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.01278, allocations: 0 / 0.8215 GB, free: 7.559 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.001048/0.01382, allocations: 0.9878 MB / 0.8224 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.01386, allocations: 8.031 kB / 0.8224 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007518/0.01461, allocations: 268.4 kB / 0.8227 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.01515, allocations: 489.3 kB / 0.8232 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.01517, allocations: 33.38 kB / 0.8232 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.01529, allocations: 60.53 kB / 0.8232 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/0.01596, allocations: 0.7904 MB / 0.824 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.01597, allocations: 4.125 kB / 0.824 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.01601, allocations: 29.06 kB / 0.8241 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.01612, allocations: 60.95 kB / 0.8241 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.01649, allocations: 287.6 kB / 0.8244 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.01908, allocations: 4.433 MB / 0.8287 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.01932, allocations: 149.1 kB / 0.8289 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.01944, allocations: 96.2 kB / 0.8289 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.01947, allocations: 10.59 kB / 0.829 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.01949, allocations: 45.67 kB / 0.829 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.0195, allocations: 0 / 0.829 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.002617/0.02211, allocations: 1.573 MB / 0.8305 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.02215, allocations: 55.41 kB / 0.8306 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.02245, allocations: 458.5 kB / 0.831 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.02247, allocations: 37.7 kB / 0.8311 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.02266, allocations: 399.1 kB / 0.8314 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.783e-05/0.02274, allocations: 154.7 kB / 0.8316 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.02287, allocations: 111.9 kB / 0.8317 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.02301, allocations: 0.5352 MB / 0.8322 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.02315, allocations: 101.2 kB / 0.8323 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.0234, allocations: 347.3 kB / 0.8326 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.02385, allocations: 490.1 kB / 0.8331 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.02385, allocations: 0 / 0.8331 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008203/0.02467, allocations: 0.6326 MB / 0.8337 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.02469, allocations: 8 kB / 0.8337 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.0247, allocations: 8.641 kB / 0.8337 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.0253, allocations: 238.8 kB / 0.834 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.02556, allocations: 115.8 kB / 0.8341 GB, free: 9.898 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.02865, allocations: 5.659 MB / 0.8396 GB, free: 3.875 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.02886, allocations: 31.97 kB / 0.8396 GB, free: 3.844 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.02889, allocations: 31.88 kB / 0.8397 GB, free: 3.812 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.0001553/0.02905, allocations: 192.4 kB / 0.8399 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.02912, allocations: 63.67 kB / 0.8399 GB, free: 3.551 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007165/0.02984, allocations: 0.4964 MB / 0.8404 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.02984, allocations: 4 kB / 0.8404 GB, free: 3.031 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.02985, allocations: 4 kB / 0.8404 GB, free: 3.027 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.02985, allocations: 3.984 kB / 0.8404 GB, free: 3.023 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.0311, allocations: 1.061 MB / 0.8415 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.0311, allocations: 4 kB / 0.8415 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.03128, allocations: 71.88 kB / 0.8415 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000557/0.03184, allocations: 227.1 kB / 0.8417 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.03187, allocations: 12 kB / 0.8418 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/0.03495, allocations: 5.659 MB / 0.8473 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.03495, allocations: 4 kB / 0.8473 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008976/0.03585, allocations: 0.7497 MB / 0.848 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.03596, allocations: 87.58 kB / 0.8481 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.036, allocations: 20 kB / 0.8481 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.03616, allocations: 27.97 kB / 0.8481 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.022e-05/0.03625, allocations: 39.86 kB / 0.8482 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.03627, allocations: 15.94 kB / 0.8482 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001931/0.03646, allocations: 298.8 kB / 0.8485 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.03646, allocations: 0 / 0.8485 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004701/0.03693, allocations: 172 kB / 0.8486 GB, free: 10.06 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.0001784/0.03711, allocations: 115.1 kB / 0.8488 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009862/0.03809, allocations: 0.9214 MB / 0.8497 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.0381, allocations: 0 / 0.8497 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.0386, allocations: 0.7432 MB / 0.8504 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.03914, allocations: 175.7 kB / 0.8505 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.04071, allocations: 1.141 MB / 0.8517 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.04086, allocations: 190.5 kB / 0.8518 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001996/0.04106, allocations: 88.77 kB / 0.8519 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.04113, allocations: 36.5 kB / 0.852 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of SimCode: time 1.342e-06/0.04113, allocations: 0 / 0.852 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of Templates: time 0.01181/0.05294, allocations: 9.679 MB / 0.8614 GB, free: 13 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.117806836031377]