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.0007707/0.0007707, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009371/0.001708, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007068/0.0007068, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008362/0.001543, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.902/0.902, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08496/0.987, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.354/2.354, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2159/2.57, allocations: 145.9 MB / 0.817 GB, free: 4.234 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 2.695e-06/2.695e-06, allocations: 4 kB / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/2.086e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005163/0.005184, allocations: 4.172 MB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002782/0.007965, allocations: 1.574 MB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003041/0.00827, allocations: 31.69 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005273/0.008797, allocations: 194.7 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006511/0.009448, allocations: 409.4 kB / 0.8245 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.01004, allocations: 323.2 kB / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000979/0.01102, allocations: 1.045 MB / 0.8258 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004886/0.01151, allocations: 383.2 kB / 0.8262 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.01216, allocations: 0.5727 MB / 0.8268 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.01271, allocations: 410.9 kB / 0.8272 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.711e-05/0.01278, allocations: 48 kB / 0.8272 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.01306, allocations: 123.8 kB / 0.8273 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.01327, allocations: 243.3 kB / 0.8276 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.01348, allocations: 203.6 kB / 0.8277 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006555/0.01413, allocations: 0.5527 MB / 0.8283 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.337e-05/0.01415, allocations: 4 kB / 0.8283 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.573e-06/0.01416, allocations: 0 / 0.8283 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.492e-05/0.01418, allocations: 3.938 kB / 0.8283 GB, free: 8.617 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.001244/0.01543, allocations: 0.9936 MB / 0.8293 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.01546, allocations: 8.625 kB / 0.8293 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009511/0.01641, allocations: 309.5 kB / 0.8296 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005963/0.01701, allocations: 435.3 kB / 0.83 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.01704, allocations: 37.38 kB / 0.83 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.01717, allocations: 56.48 kB / 0.8301 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006661/0.01784, allocations: 0.7005 MB / 0.8308 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.01786, allocations: 8.078 kB / 0.8308 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.01791, allocations: 32.11 kB / 0.8308 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.01805, allocations: 60.95 kB / 0.8309 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/0.01841, allocations: 202.6 kB / 0.831 GB, free: 5.605 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.0209, allocations: 3.023 MB / 0.834 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.02113, allocations: 156.9 kB / 0.8341 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.908e-05/0.02123, allocations: 69.39 kB / 0.8342 GB, free: 2.238 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.02126, allocations: 12.28 kB / 0.8342 GB, free: 2.227 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.02128, allocations: 34.84 kB / 0.8343 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=33): time 2.494e-06/0.02129, allocations: 0 / 0.8343 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34): time 0.002062/0.02335, allocations: 0.9952 MB / 0.8352 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.02338, allocations: 55.41 kB / 0.8353 GB, free: 1.082 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.02366, allocations: 391 kB / 0.8357 GB, free: 0.6914 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.02368, allocations: 37.7 kB / 0.8357 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.02383, allocations: 305.3 kB / 0.836 GB, free: 352 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.534e-05/0.02392, allocations: 134.9 kB / 0.8361 GB, free: 216 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.02404, allocations: 98.25 kB / 0.8362 GB, free: 112 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.02417, allocations: 358.6 kB / 0.8365 GB, free: 15.75 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.02427, allocations: 68.11 kB / 0.8366 GB, free: 15.68 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.02445, allocations: 231.2 kB / 0.8368 GB, free: 15.38 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.02479, allocations: 343.3 kB / 0.8372 GB, free: 14.97 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.02479, allocations: 4 kB / 0.8372 GB, free: 14.97 MB / 0.823 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006217/0.02542, allocations: 415.2 kB / 0.8376 GB, free: 14.55 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.02544, allocations: 8 kB / 0.8376 GB, free: 14.54 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.02545, allocations: 4 kB / 0.8376 GB, free: 14.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000483/0.02593, allocations: 159.6 kB / 0.8377 GB, free: 14.37 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.0263, allocations: 115.8 kB / 0.8378 GB, free: 14.26 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.02819, allocations: 2.65 MB / 0.8404 GB, free: 11.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.02844, allocations: 16.06 kB / 0.8404 GB, free: 11.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.02847, allocations: 23.98 kB / 0.8405 GB, free: 11.38 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.000182/0.02865, allocations: 148.4 kB / 0.8406 GB, free: 11.22 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.02872, allocations: 43.95 kB / 0.8406 GB, free: 11.18 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005206/0.02924, allocations: 321.7 kB / 0.841 GB, free: 10.85 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.02925, allocations: 8 kB / 0.841 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.02925, allocations: 7.984 kB / 0.841 GB, free: 10.83 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.02926, allocations: 4.031 kB / 0.841 GB, free: 10.83 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009468/0.03021, allocations: 0.6775 MB / 0.8416 GB, free: 10.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.03021, allocations: 16.12 kB / 0.8416 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.03046, allocations: 63.91 kB / 0.8417 GB, free: 10.02 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.03058, allocations: 63.69 kB / 0.8418 GB, free: 9.961 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004179/0.031, allocations: 139.2 kB / 0.8419 GB, free: 9.816 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.03102, allocations: 11.98 kB / 0.8419 GB, free: 9.805 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.03277, allocations: 2.648 MB / 0.8445 GB, free: 6.961 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.03278, allocations: 3.938 kB / 0.8445 GB, free: 6.957 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.0334, allocations: 0.5157 MB / 0.845 GB, free: 6.398 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.03344, allocations: 12.05 kB / 0.845 GB, free: 6.387 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.03361, allocations: 12 kB / 0.845 GB, free: 6.375 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.03366, allocations: 27.95 kB / 0.8451 GB, free: 6.348 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.03368, allocations: 11.94 kB / 0.8451 GB, free: 6.336 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001482/0.03383, allocations: 164.7 kB / 0.8452 GB, free: 6.176 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.03383, allocations: 0 / 0.8452 GB, free: 6.176 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004935/0.03432, allocations: 156 kB / 0.8454 GB, free: 6.023 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.000131/0.03445, allocations: 92.3 kB / 0.8455 GB, free: 5.926 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006328/0.03509, allocations: 0.5308 MB / 0.846 GB, free: 5.367 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.058e-05/0.03511, allocations: 8 kB / 0.846 GB, free: 5.359 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.03546, allocations: 399.4 kB / 0.8464 GB, free: 4.941 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/0.03604, allocations: 202.9 kB / 0.8466 GB, free: 4.754 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/0.04124, allocations: 1.08 MB / 0.8476 GB, free: 3.625 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.04138, allocations: 166.3 kB / 0.8478 GB, free: 3.441 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002397/0.04162, allocations: 68.64 kB / 0.8478 GB, free: 3.371 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.04191, allocations: 173.3 kB / 0.848 GB, free: 3.199 MB / 0.823 GB Notification: Performance of SimCode: time 1.042e-06/0.04191, allocations: 0 / 0.848 GB, free: 3.199 MB / 0.823 GB Notification: Performance of Templates: time 0.01348/0.05539, allocations: 8.871 MB / 0.8567 GB, free: 10.51 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.310217234306037]