Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009992/0.0009992, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.00243, 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.001041/0.001041, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.002445, 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.9957/0.9957, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.099, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.366/2.366, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2683/2.634, allocations: 145.9 MB / 0.817 GB, free: 4.18 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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.572e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005792/0.005808, allocations: 4.273 MB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003003/0.008811, allocations: 1.594 MB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.009083, allocations: 31.69 kB / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.009616, allocations: 194.7 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006929/0.01031, allocations: 413.4 kB / 0.8246 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.01091, allocations: 335.2 kB / 0.8249 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000715/0.01163, allocations: 1.049 MB / 0.826 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.01201, allocations: 383.2 kB / 0.8263 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005073/0.01251, allocations: 0.5727 MB / 0.8269 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004519/0.01296, allocations: 410.8 kB / 0.8273 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/0.01302, allocations: 48 kB / 0.8273 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.01321, allocations: 131.8 kB / 0.8275 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.01336, allocations: 243.4 kB / 0.8277 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.01352, allocations: 199.6 kB / 0.8279 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.01398, allocations: 0.5527 MB / 0.8284 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.267e-05/0.01399, allocations: 4 kB / 0.8284 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.21e-07/0.01399, allocations: 0 / 0.8284 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.01401, allocations: 3.938 kB / 0.8284 GB, free: 8.441 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.001036/0.01504, allocations: 0.9975 MB / 0.8294 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.01508, allocations: 12.62 kB / 0.8294 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000708/0.01579, allocations: 313.4 kB / 0.8297 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.01624, allocations: 455.2 kB / 0.8301 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.01626, allocations: 41.36 kB / 0.8302 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.921e-05/0.01636, allocations: 56.55 kB / 0.8302 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.01688, allocations: 0.6888 MB / 0.8309 GB, free: 5.703 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.0169, allocations: 12.08 kB / 0.8309 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.01693, allocations: 28.11 kB / 0.831 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.583e-05/0.01702, allocations: 64.95 kB / 0.831 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.01725, allocations: 198.6 kB / 0.8312 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.01925, allocations: 3.03 MB / 0.8342 GB, free: 2.266 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.01943, allocations: 160.9 kB / 0.8343 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.357e-05/0.0195, allocations: 61.41 kB / 0.8344 GB, free: 2.035 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.01952, allocations: 8.281 kB / 0.8344 GB, free: 2.027 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.01955, allocations: 34.84 kB / 0.8344 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.01955, allocations: 0 / 0.8344 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34): time 0.001644/0.02119, allocations: 0.9952 MB / 0.8354 GB, free: 0.9492 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.02122, allocations: 59.39 kB / 0.8354 GB, free: 0.8789 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.02143, allocations: 399 kB / 0.8358 GB, free: 492 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.02145, allocations: 29.7 kB / 0.8359 GB, free: 456 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.02158, allocations: 309.4 kB / 0.8361 GB, free: 140 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.02165, allocations: 134.8 kB / 0.8363 GB, free: 4 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.02175, allocations: 94.25 kB / 0.8364 GB, free: 15.91 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.02185, allocations: 366.6 kB / 0.8367 GB, free: 15.54 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.02192, allocations: 60.12 kB / 0.8368 GB, free: 15.48 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.02208, allocations: 235.2 kB / 0.837 GB, free: 15.18 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.02235, allocations: 347.3 kB / 0.8373 GB, free: 14.76 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.02235, allocations: 4 kB / 0.8373 GB, free: 14.76 MB / 0.823 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004896/0.02284, allocations: 423.5 kB / 0.8377 GB, free: 14.33 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.02286, allocations: 8 kB / 0.8377 GB, free: 14.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.02287, allocations: 4 kB / 0.8377 GB, free: 14.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.02327, allocations: 155.2 kB / 0.8379 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.02355, allocations: 111.9 kB / 0.838 GB, free: 14.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.02513, allocations: 2.654 MB / 0.8406 GB, free: 11.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.02528, allocations: 12 kB / 0.8406 GB, free: 11.19 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.0253, allocations: 20 kB / 0.8406 GB, free: 11.17 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.0001222/0.02542, allocations: 144.4 kB / 0.8408 GB, free: 11.02 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.02548, allocations: 51.97 kB / 0.8408 GB, free: 10.96 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/0.02589, allocations: 329.8 kB / 0.8411 GB, free: 10.63 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.02589, allocations: 0 / 0.8411 GB, free: 10.63 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.0259, allocations: 4 kB / 0.8411 GB, free: 10.62 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.0259, allocations: 4.125 kB / 0.8411 GB, free: 10.62 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000729/0.02663, allocations: 0.689 MB / 0.8418 GB, free: 9.883 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.02663, allocations: 4 kB / 0.8418 GB, free: 9.879 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.02682, allocations: 63.89 kB / 0.8419 GB, free: 9.816 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.0269, allocations: 63.66 kB / 0.8419 GB, free: 9.754 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003227/0.02723, allocations: 147.4 kB / 0.8421 GB, free: 9.602 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.02724, allocations: 12 kB / 0.8421 GB, free: 9.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.02863, allocations: 2.632 MB / 0.8447 GB, free: 6.762 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.02863, allocations: 3.938 kB / 0.8447 GB, free: 6.758 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.02913, allocations: 0.5313 MB / 0.8452 GB, free: 6.184 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.02916, allocations: 12 kB / 0.8452 GB, free: 6.172 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.02927, allocations: 8 kB / 0.8452 GB, free: 6.164 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.02931, allocations: 27.94 kB / 0.8452 GB, free: 6.137 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.02933, allocations: 11.94 kB / 0.8452 GB, free: 6.125 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001041/0.02943, allocations: 164.4 kB / 0.8454 GB, free: 5.961 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.02943, allocations: 0 / 0.8454 GB, free: 5.961 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003117/0.02974, allocations: 160 kB / 0.8455 GB, free: 5.805 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.0001107/0.02985, allocations: 96.34 kB / 0.8456 GB, free: 5.703 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004848/0.03034, allocations: 0.5237 MB / 0.8461 GB, free: 5.152 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/0.03035, allocations: 12 kB / 0.8462 GB, free: 5.141 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.03063, allocations: 390.7 kB / 0.8465 GB, free: 4.73 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.03106, allocations: 213.7 kB / 0.8467 GB, free: 4.531 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.0349, allocations: 1.082 MB / 0.8478 GB, free: 3.398 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.03501, allocations: 178.3 kB / 0.848 GB, free: 3.203 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.03517, allocations: 64.69 kB / 0.848 GB, free: 3.137 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.0354, allocations: 169.3 kB / 0.8482 GB, free: 2.969 MB / 0.823 GB Notification: Performance of SimCode: time 9.22e-07/0.0354, allocations: 0 / 0.8482 GB, free: 2.969 MB / 0.823 GB Notification: Performance of Templates: time 0.01073/0.04613, allocations: 8.893 MB / 0.8569 GB, free: 10.27 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.540588202886283]