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.001171/0.001171, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0019/0.003071, 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.001132/0.001132, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001612/0.002744, allocations: 475.6 kB / 11.8 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.9802/0.9802, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.102/1.082, allocations: 53.67 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.285/2.285, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2595/2.545, allocations: 146 MB / 0.8176 GB, free: 3.793 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.783e-06/1.783e-06, allocations: 0 / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.795e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005945/0.005972, allocations: 4.259 MB / 0.8231 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003461/0.009434, allocations: 1.601 MB / 0.8246 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000516/0.00995, allocations: 35.69 kB / 0.8247 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006848/0.01063, allocations: 194.7 kB / 0.8249 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0009695/0.0116, allocations: 417.3 kB / 0.8253 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008714/0.01248, allocations: 331.3 kB / 0.8256 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.01386, allocations: 1.056 MB / 0.8266 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006372/0.0145, allocations: 387.2 kB / 0.827 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009662/0.01546, allocations: 0.5728 MB / 0.8275 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007595/0.01622, allocations: 410.8 kB / 0.8279 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.01633, allocations: 48 kB / 0.828 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003971/0.01673, allocations: 135.7 kB / 0.8281 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.01699, allocations: 239.4 kB / 0.8283 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.01726, allocations: 203.6 kB / 0.8285 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0008453/0.0181, allocations: 0.5527 MB / 0.8291 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.879e-05/0.01812, allocations: 0 / 0.8291 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.904e-06/0.01812, allocations: 0 / 0.8291 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.488e-05/0.01816, allocations: 0 / 0.8291 GB, free: 8.02 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.001626/0.01978, allocations: 1.001 MB / 0.83 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.01983, allocations: 8.031 kB / 0.8301 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.02104, allocations: 313.5 kB / 0.8303 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007803/0.02182, allocations: 447.3 kB / 0.8308 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.02186, allocations: 41.36 kB / 0.8308 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.02202, allocations: 52.56 kB / 0.8309 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008087/0.02283, allocations: 0.6965 MB / 0.8315 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.51e-05/0.02287, allocations: 12.06 kB / 0.8316 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.02292, allocations: 28.11 kB / 0.8316 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.02307, allocations: 60.95 kB / 0.8316 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003676/0.02344, allocations: 194.6 kB / 0.8318 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.02631, allocations: 3.034 MB / 0.8348 GB, free: 1.848 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.02658, allocations: 169.4 kB / 0.835 GB, free: 1.672 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.0267, allocations: 61.41 kB / 0.835 GB, free: 1.609 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.02673, allocations: 4.281 kB / 0.835 GB, free: 1.605 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.02676, allocations: 38.84 kB / 0.8351 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=33): time 3.387e-06/0.02676, allocations: 0 / 0.8351 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34): time 0.002449/0.02921, allocations: 1.008 MB / 0.836 GB, free: 0.5117 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.02925, allocations: 59.41 kB / 0.8361 GB, free: 452 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.02958, allocations: 403 kB / 0.8365 GB, free: 40 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.02961, allocations: 29.7 kB / 0.8365 GB, free: 4 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.0298, allocations: 313.4 kB / 0.8368 GB, free: 15.69 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.806e-05/0.02989, allocations: 130.8 kB / 0.8369 GB, free: 15.56 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.03002, allocations: 90.25 kB / 0.837 GB, free: 15.47 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.03014, allocations: 366.6 kB / 0.8374 GB, free: 15.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.03026, allocations: 60.12 kB / 0.8374 GB, free: 15.04 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.03048, allocations: 231.3 kB / 0.8376 GB, free: 14.74 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.0309, allocations: 367.3 kB / 0.838 GB, free: 14.31 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.03091, allocations: 3.938 kB / 0.838 GB, free: 14.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0007044/0.03161, allocations: 419.6 kB / 0.8384 GB, free: 13.88 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.03163, allocations: 4 kB / 0.8384 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.03164, allocations: 8 kB / 0.8384 GB, free: 13.87 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/0.03219, allocations: 159.2 kB / 0.8386 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.03263, allocations: 118.9 kB / 0.8387 GB, free: 13.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.03505, allocations: 2.653 MB / 0.8413 GB, free: 10.74 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.03537, allocations: 19.94 kB / 0.8413 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.03539, allocations: 19.98 kB / 0.8413 GB, free: 10.7 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.0001524/0.03555, allocations: 140.5 kB / 0.8414 GB, free: 10.55 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.0356, allocations: 47.98 kB / 0.8415 GB, free: 10.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000413/0.03601, allocations: 325.2 kB / 0.8418 GB, free: 10.17 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.03602, allocations: 4 kB / 0.8418 GB, free: 10.17 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.03602, allocations: 0 / 0.8418 GB, free: 10.17 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.03603, allocations: 7.922 kB / 0.8418 GB, free: 10.16 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007858/0.03681, allocations: 0.6929 MB / 0.8425 GB, free: 9.418 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.03682, allocations: 4 kB / 0.8425 GB, free: 9.414 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.03701, allocations: 63.89 kB / 0.8425 GB, free: 9.352 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.0371, allocations: 63.64 kB / 0.8426 GB, free: 9.289 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003405/0.03744, allocations: 151.6 kB / 0.8428 GB, free: 9.133 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.03746, allocations: 7.984 kB / 0.8428 GB, free: 9.125 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.03923, allocations: 2.64 MB / 0.8453 GB, free: 6.289 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.03923, allocations: 4 kB / 0.8453 GB, free: 6.285 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.03975, allocations: 0.5275 MB / 0.8459 GB, free: 5.715 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.03979, allocations: 12 kB / 0.8459 GB, free: 5.703 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.03991, allocations: 8 kB / 0.8459 GB, free: 5.695 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.03997, allocations: 27.89 kB / 0.8459 GB, free: 5.668 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.03998, allocations: 8 kB / 0.8459 GB, free: 5.66 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001141/0.0401, allocations: 168.4 kB / 0.8461 GB, free: 5.492 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.0401, allocations: 3.938 kB / 0.8461 GB, free: 5.488 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003877/0.04048, allocations: 160 kB / 0.8462 GB, free: 5.332 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.0001244/0.04061, allocations: 90.23 kB / 0.8463 GB, free: 5.238 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.04114, allocations: 0.5318 MB / 0.8468 GB, free: 4.68 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/0.04116, allocations: 8 kB / 0.8468 GB, free: 4.672 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.04149, allocations: 415.1 kB / 0.8472 GB, free: 4.238 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008475/0.04233, allocations: 1.605 MB / 0.8488 GB, free: 2.316 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.04625, allocations: 1.072 MB / 0.8498 GB, free: 1.191 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.04637, allocations: 174.3 kB / 0.85 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002035/0.04658, allocations: 72.67 kB / 0.8501 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.04682, allocations: 177.2 kB / 0.8503 GB, free: 0.75 MB / 0.823 GB Notification: Performance of SimCode: time 1.172e-06/0.04682, allocations: 0 / 0.8503 GB, free: 0.75 MB / 0.823 GB Notification: Performance of Templates: time 0.012/0.05882, allocations: 8.783 MB / 0.8588 GB, free: 8.164 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.228521687909961]