Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001068/0.001068, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001618/0.002686, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001072/0.001072, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.002507, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9328/0.9328, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09219/1.025, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.548/2.548, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3674/2.916, allocations: 146 MB / 0.8176 GB, free: 3.797 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[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_latest_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.[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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 3.938 kB / 0.8189 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.005e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004961/0.004991, allocations: 4.177 MB / 0.823 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.007732, allocations: 1.578 MB / 0.8245 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.008059, allocations: 35.69 kB / 0.8246 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.008623, allocations: 190.8 kB / 0.8248 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006193/0.009242, allocations: 409.4 kB / 0.8252 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006012/0.009844, allocations: 319.2 kB / 0.8255 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0009827/0.01083, allocations: 1.052 MB / 0.8265 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.01138, allocations: 379.2 kB / 0.8268 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007983/0.01218, allocations: 0.5767 MB / 0.8274 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005726/0.01275, allocations: 406.8 kB / 0.8278 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.773e-05/0.01282, allocations: 48 kB / 0.8278 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003093/0.01313, allocations: 131.7 kB / 0.828 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.01332, allocations: 239.4 kB / 0.8282 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.0135, allocations: 199.6 kB / 0.8284 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006427/0.01415, allocations: 0.5527 MB / 0.8289 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-05/0.01416, allocations: 0 / 0.8289 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.054e-06/0.01417, allocations: 0 / 0.8289 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.819e-05/0.01419, allocations: 7.984 kB / 0.8289 GB, free: 8.152 MB / 0.8073 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.001354/0.01554, allocations: 0.9858 MB / 0.8299 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.01558, allocations: 8.031 kB / 0.8299 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007785/0.01636, allocations: 309.4 kB / 0.8302 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.01689, allocations: 435.3 kB / 0.8306 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.01692, allocations: 41.36 kB / 0.8307 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.01704, allocations: 56.55 kB / 0.8307 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.01764, allocations: 0.6926 MB / 0.8314 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.01766, allocations: 12.12 kB / 0.8314 GB, free: 5.434 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.0177, allocations: 28.12 kB / 0.8314 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.01782, allocations: 64.89 kB / 0.8315 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.01807, allocations: 202.5 kB / 0.8317 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.02036, allocations: 3.027 MB / 0.8346 GB, free: 2.008 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.0206, allocations: 166.2 kB / 0.8348 GB, free: 1.836 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.467e-05/0.02068, allocations: 61.41 kB / 0.8349 GB, free: 1.773 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.02071, allocations: 8.281 kB / 0.8349 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.02074, allocations: 38.84 kB / 0.8349 GB, free: 1.719 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=33): time 3.076e-06/0.02074, allocations: 4 kB / 0.8349 GB, free: 1.715 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34): time 0.001879/0.02262, allocations: 1.008 MB / 0.8359 GB, free: 0.668 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.02266, allocations: 55.41 kB / 0.8359 GB, free: 0.6016 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.02312, allocations: 391 kB / 0.8363 GB, free: 216 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.02315, allocations: 33.7 kB / 0.8363 GB, free: 176 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.0233, allocations: 313.5 kB / 0.8366 GB, free: 15.86 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.143e-05/0.02337, allocations: 130.9 kB / 0.8368 GB, free: 15.73 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.02347, allocations: 86.28 kB / 0.8368 GB, free: 15.64 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.02358, allocations: 370.4 kB / 0.8372 GB, free: 15.27 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.02366, allocations: 68.11 kB / 0.8373 GB, free: 15.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.02382, allocations: 227.4 kB / 0.8375 GB, free: 14.91 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.02411, allocations: 363.3 kB / 0.8378 GB, free: 14.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.02412, allocations: 4 kB / 0.8378 GB, free: 14.47 MB / 0.823 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0005087/0.02463, allocations: 415.4 kB / 0.8382 GB, free: 14.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.02465, allocations: 8 kB / 0.8382 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.02466, allocations: 4 kB / 0.8382 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/0.02509, allocations: 159.4 kB / 0.8384 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.02539, allocations: 126 kB / 0.8385 GB, free: 13.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.02726, allocations: 2.645 MB / 0.8411 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.02749, allocations: 16 kB / 0.8411 GB, free: 10.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.02751, allocations: 12.14 kB / 0.8411 GB, free: 10.88 MB / 0.823 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.02767, allocations: 152.5 kB / 0.8413 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.02773, allocations: 47.94 kB / 0.8413 GB, free: 10.68 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/0.02818, allocations: 325.1 kB / 0.8416 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.02819, allocations: 4 kB / 0.8416 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.02819, allocations: 4 kB / 0.8416 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.02821, allocations: 3.938 kB / 0.8416 GB, free: 10.33 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008499/0.02906, allocations: 0.6967 MB / 0.8423 GB, free: 9.586 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.02906, allocations: 4 kB / 0.8423 GB, free: 9.582 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.02927, allocations: 64.06 kB / 0.8424 GB, free: 9.52 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/0.02937, allocations: 63.67 kB / 0.8424 GB, free: 9.457 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003543/0.02972, allocations: 143.2 kB / 0.8426 GB, free: 9.309 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.02974, allocations: 8 kB / 0.8426 GB, free: 9.301 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.03164, allocations: 2.64 MB / 0.8452 GB, free: 6.465 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.03164, allocations: 4 kB / 0.8452 GB, free: 6.461 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.03221, allocations: 0.5196 MB / 0.8457 GB, free: 5.898 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.03225, allocations: 8 kB / 0.8457 GB, free: 5.891 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.03237, allocations: 12 kB / 0.8457 GB, free: 5.879 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.03242, allocations: 36.12 kB / 0.8457 GB, free: 5.844 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.03244, allocations: 12 kB / 0.8457 GB, free: 5.832 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001246/0.03257, allocations: 156.7 kB / 0.8459 GB, free: 5.676 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.03257, allocations: 0 / 0.8459 GB, free: 5.676 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004326/0.033, allocations: 156 kB / 0.846 GB, free: 5.523 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001695/0.03317, allocations: 96.23 kB / 0.8461 GB, free: 5.422 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006616/0.03383, allocations: 0.5398 MB / 0.8467 GB, free: 4.855 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.11e-05/0.03385, allocations: 8 kB / 0.8467 GB, free: 4.848 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.03422, allocations: 419 kB / 0.8471 GB, free: 4.41 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.03534, allocations: 1.586 MB / 0.8486 GB, free: 2.504 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.03941, allocations: 1.069 MB / 0.8497 GB, free: 1.387 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.03971, allocations: 182.3 kB / 0.8498 GB, free: 1.184 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.03992, allocations: 56.66 kB / 0.8499 GB, free: 1.125 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.04019, allocations: 181.2 kB / 0.8501 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of SimCode: time 1.913e-06/0.04019, allocations: 0 / 0.8501 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of Templates: time 0.01319/0.05338, allocations: 8.773 MB / 0.8586 GB, free: 8.375 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.577926449477673]