Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.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.001437/0.001437, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001509/0.001509, allocations: 164.9 kB / 23.01 MB, free: 4.598 MB / 14.72 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.448/1.448, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.706/2.706, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 67.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3231, allocations: 169.9 MB / 1.117 GB, free: 2.555 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007709/0.3308, allocations: 5.277 MB / 1.123 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004664/0.3355, allocations: 2.607 MB / 1.125 GB, free: 10.63 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.3357, allocations: 31.75 kB / 1.125 GB, free: 10.6 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.3377, allocations: 0.6846 MB / 1.126 GB, free: 9.914 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0009132/0.3386, allocations: 429.8 kB / 1.126 GB, free: 9.492 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009374/0.3395, allocations: 392.6 kB / 1.127 GB, free: 9.109 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3406, allocations: 0.9555 MB / 1.128 GB, free: 8.152 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005706/0.3412, allocations: 374.5 kB / 1.128 GB, free: 7.785 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005567/0.3418, allocations: 394.5 kB / 1.128 GB, free: 7.398 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005966/0.3424, allocations: 390.4 kB / 1.129 GB, free: 7.016 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-05/0.3425, allocations: 48 kB / 1.129 GB, free: 6.969 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005802/0.343, allocations: 339.2 kB / 1.129 GB, free: 6.637 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.3433, allocations: 243.3 kB / 1.129 GB, free: 6.398 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.3436, allocations: 290.6 kB / 1.13 GB, free: 6.113 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.3448, allocations: 0.9961 MB / 1.131 GB, free: 5.113 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3448, allocations: 0 / 1.131 GB, free: 5.113 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3448, allocations: 0 / 1.131 GB, free: 5.113 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.3448, allocations: 0 / 1.131 GB, free: 5.113 MB / 1.076 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.001639/0.3464, allocations: 0.9053 MB / 1.131 GB, free: 4.172 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3465, allocations: 8.031 kB / 1.131 GB, free: 4.164 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.3479, allocations: 208.2 kB / 1.132 GB, free: 3.961 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008195/0.3487, allocations: 455.6 kB / 1.132 GB, free: 3.488 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.3488, allocations: 41.36 kB / 1.132 GB, free: 3.449 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.3489, allocations: 56.55 kB / 1.132 GB, free: 3.395 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.3503, allocations: 0.9824 MB / 1.133 GB, free: 2.293 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.3503, allocations: 7.953 kB / 1.133 GB, free: 2.285 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.3504, allocations: 24 kB / 1.133 GB, free: 2.262 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002113/0.3506, allocations: 68.88 kB / 1.133 GB, free: 2.191 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009292/0.3515, allocations: 0.5696 MB / 1.134 GB, free: 1.625 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6285/0.98, allocations: 3.484 MB / 1.137 GB, free: 55.8 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.9805, allocations: 281 kB / 1.137 GB, free: 55.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.9808, allocations: 211.9 kB / 1.138 GB, free: 55.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.9808, allocations: 3.031 kB / 1.138 GB, free: 55.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.9809, allocations: 37.44 kB / 1.138 GB, free: 55.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 2.695e-06/0.9809, allocations: 0 / 1.138 GB, free: 55.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=40): time 0.004896/0.9858, allocations: 2.335 MB / 1.14 GB, free: 55.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.9858, allocations: 57.25 kB / 1.14 GB, free: 55.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.9862, allocations: 427.4 kB / 1.14 GB, free: 55.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.9862, allocations: 32.58 kB / 1.14 GB, free: 55.14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.9864, allocations: 357.1 kB / 1.141 GB, free: 54.89 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.759e-05/0.9865, allocations: 146.1 kB / 1.141 GB, free: 54.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.9866, allocations: 109.6 kB / 1.141 GB, free: 54.74 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.9867, allocations: 359.1 kB / 1.141 GB, free: 54.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.987, allocations: 236.7 kB / 1.142 GB, free: 54.33 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.9873, allocations: 406.3 kB / 1.142 GB, free: 54.04 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.988, allocations: 0.6861 MB / 1.143 GB, free: 53.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.988, allocations: 2.5 kB / 1.143 GB, free: 53.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001377/0.9894, allocations: 0.9161 MB / 1.144 GB, free: 53.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.9894, allocations: 11.53 kB / 1.144 GB, free: 53.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.9894, allocations: 5.312 kB / 1.144 GB, free: 53.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007287/0.9901, allocations: 224.2 kB / 1.144 GB, free: 53.19 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.9906, allocations: 115.8 kB / 1.144 GB, free: 53.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003753/0.9944, allocations: 4.931 MB / 1.149 GB, free: 49.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.9948, allocations: 29.66 kB / 1.149 GB, free: 49.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.9948, allocations: 20.97 kB / 1.149 GB, free: 49.03 MB / 1.076 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.0002527/0.9951, allocations: 234.1 kB / 1.149 GB, free: 48.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/0.9951, allocations: 54.8 kB / 1.149 GB, free: 48.83 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.9964, allocations: 0.7688 MB / 1.15 GB, free: 48.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.9964, allocations: 3.578 kB / 1.15 GB, free: 48.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.9965, allocations: 3 kB / 1.15 GB, free: 48.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.9965, allocations: 2.438 kB / 1.15 GB, free: 48.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.9984, allocations: 1.329 MB / 1.151 GB, free: 47.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.9984, allocations: 2.781 kB / 1.151 GB, free: 47.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.9987, allocations: 68.38 kB / 1.151 GB, free: 47.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005916/0.9993, allocations: 207.5 kB / 1.151 GB, free: 47.77 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.9994, allocations: 14.86 kB / 1.151 GB, free: 47.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003503/1.003, allocations: 4.865 MB / 1.156 GB, free: 43.63 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.003, allocations: 2.781 kB / 1.156 GB, free: 43.63 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/1.004, allocations: 1.13 MB / 1.157 GB, free: 43.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/1.005, allocations: 93.59 kB / 1.157 GB, free: 43.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/1.005, allocations: 10.03 kB / 1.157 GB, free: 43.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/1.005, allocations: 32.61 kB / 1.157 GB, free: 43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/1.005, allocations: 32.59 kB / 1.157 GB, free: 42.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/1.005, allocations: 15.75 kB / 1.157 GB, free: 42.99 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002467/1.005, allocations: 282 kB / 1.158 GB, free: 42.86 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.005, allocations: 4.062 kB / 1.158 GB, free: 42.85 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006563/1.006, allocations: 167.8 kB / 1.158 GB, free: 42.83 MB / 1.076 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.0001309/1.006, allocations: 106.6 kB / 1.158 GB, free: 42.74 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001337/1.007, allocations: 0.969 MB / 1.159 GB, free: 42.18 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.007, allocations: 0 / 1.159 GB, free: 42.18 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007622/1.008, allocations: 0.6716 MB / 1.16 GB, free: 41.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008204/1.009, allocations: 179.6 kB / 1.16 GB, free: 41.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/1.011, allocations: 1.265 MB / 1.161 GB, free: 40.99 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/1.011, allocations: 358.5 kB / 1.161 GB, free: 40.86 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002661/1.011, allocations: 113.8 kB / 1.161 GB, free: 40.84 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/1.011, allocations: 40.56 kB / 1.161 GB, free: 40.83 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.011, allocations: 0 / 1.161 GB, free: 40.83 MB / 1.076 GB Notification: Performance of Templates: time 0.01384/1.025, allocations: 9.055 MB / 1.17 GB, free: 39.88 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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: 9.015275330049917]