Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001573, allocations: 110.5 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 437.1 MB / 0.7177 GB, free: 4.555 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.89 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.372, allocations: 151.6 MB / 1.176 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009571/0.3817, allocations: 5.481 MB / 1.181 GB, free: 452 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00596/0.3877, allocations: 2.619 MB / 1.184 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005812/0.3884, allocations: 27.81 kB / 1.184 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.3904, allocations: 0.6755 MB / 1.184 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.3916, allocations: 401.8 kB / 1.185 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3928, allocations: 403 kB / 1.185 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.3941, allocations: 0.9513 MB / 1.186 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006996/0.3948, allocations: 466.5 kB / 1.187 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.3954, allocations: 374.6 kB / 1.187 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005738/0.396, allocations: 402.4 kB / 1.187 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.537e-05/0.396, allocations: 48 kB / 1.187 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008464/0.3969, allocations: 359.3 kB / 1.188 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.3972, allocations: 243.3 kB / 1.188 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.3976, allocations: 354.2 kB / 1.188 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.399, allocations: 0.9728 MB / 1.189 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.399, allocations: 0 / 1.189 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3991, allocations: 0 / 1.189 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.3991, allocations: 0 / 1.189 GB, free: 8.18 MB / 0.9356 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.001828/0.4009, allocations: 0.9985 MB / 1.19 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.401, allocations: 12.03 kB / 1.19 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.4023, allocations: 196.2 kB / 1.19 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008835/0.4032, allocations: 0.5223 MB / 1.191 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.4033, allocations: 37.36 kB / 1.191 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.4035, allocations: 56.52 kB / 1.191 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.4048, allocations: 0.828 MB / 1.192 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.4048, allocations: 3.938 kB / 1.192 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.277e-05/0.4049, allocations: 23.98 kB / 1.192 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/0.4051, allocations: 68.94 kB / 1.192 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009642/0.4061, allocations: 0.5697 MB / 1.192 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00534/0.4114, allocations: 4.574 MB / 1.197 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.412, allocations: 299.2 kB / 1.197 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.4123, allocations: 225.3 kB / 1.197 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.4123, allocations: 4.281 kB / 1.197 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.4124, allocations: 38.84 kB / 1.197 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 2.685e-06/0.4124, allocations: 4 kB / 1.197 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40): time 0.006107/0.4185, allocations: 2.639 MB / 1.2 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.4186, allocations: 55.41 kB / 1.2 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005813/0.4192, allocations: 462 kB / 1.201 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.4192, allocations: 33.7 kB / 1.201 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.4195, allocations: 348.5 kB / 1.201 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.4197, allocations: 150.7 kB / 1.201 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.4199, allocations: 106.2 kB / 1.201 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.4201, allocations: 362.8 kB / 1.201 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.4205, allocations: 244.9 kB / 1.202 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.421, allocations: 406.4 kB / 1.202 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009826/0.422, allocations: 0.6778 MB / 1.203 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.422, allocations: 0 / 1.203 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001806/0.4238, allocations: 0.925 MB / 1.204 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.4239, allocations: 8 kB / 1.204 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.4239, allocations: 8 kB / 1.204 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008517/0.4248, allocations: 226.9 kB / 1.204 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.4253, allocations: 115.8 kB / 1.204 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005905/0.4312, allocations: 5.348 MB / 1.209 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.4318, allocations: 27.97 kB / 1.209 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.4319, allocations: 24 kB / 1.209 GB, free: 2.324 MB / 0.9512 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.0004114/0.4323, allocations: 235.7 kB / 1.21 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.4324, allocations: 59.61 kB / 1.21 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.4341, allocations: 0.7733 MB / 1.21 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4341, allocations: 4 kB / 1.21 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4341, allocations: 4 kB / 1.21 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4341, allocations: 144 / 1.21 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/0.4367, allocations: 1.499 MB / 1.212 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4367, allocations: 0 / 1.212 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.4371, allocations: 75.88 kB / 1.212 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006982/0.4378, allocations: 206.5 kB / 1.212 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.4378, allocations: 8 kB / 1.212 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005532/0.4434, allocations: 5.278 MB / 1.217 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4434, allocations: 3.938 kB / 1.217 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.4454, allocations: 1.132 MB / 1.218 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.4457, allocations: 164.7 kB / 1.218 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.4458, allocations: 19.92 kB / 1.219 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.4461, allocations: 23.97 kB / 1.219 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.4462, allocations: 35.89 kB / 1.219 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.4462, allocations: 12 kB / 1.219 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003864/0.4466, allocations: 314.9 kB / 1.219 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4466, allocations: 0 / 1.219 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000711/0.4474, allocations: 168 kB / 1.219 GB, free: 7.727 MB / 0.9669 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.0001751/0.4475, allocations: 115.5 kB / 1.219 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.4493, allocations: 1.013 MB / 1.22 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4494, allocations: 0 / 1.22 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.4504, allocations: 0.6837 MB / 1.221 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000921/0.4513, allocations: 187.4 kB / 1.221 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.4535, allocations: 1.322 MB / 1.222 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/0.4542, allocations: 0.9377 MB / 1.223 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.4543, allocations: 51.38 kB / 1.223 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of SimCode: time 9.82e-07/0.4543, allocations: 0 / 1.223 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of Templates: time 0.02044/0.4748, allocations: 14.83 MB / 1.238 GB, free: 4.469 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.997577041038312]