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.002046/0.002046, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002553/0.002553, allocations: 211.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.455/3.455, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.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_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.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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 66.78 kB / 1.186 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4875, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009013/0.4965, allocations: 5.278 MB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005734/0.5022, allocations: 2.611 MB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004792/0.5027, allocations: 39.69 kB / 1.372 GB, free: 5.621 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.5048, allocations: 0.6652 MB / 1.372 GB, free: 4.953 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.506, allocations: 421.7 kB / 1.373 GB, free: 4.539 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.5074, allocations: 405.2 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.5089, allocations: 0.9478 MB / 1.374 GB, free: 3.191 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007153/0.5096, allocations: 382.4 kB / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000725/0.5103, allocations: 386.6 kB / 1.375 GB, free: 2.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007488/0.5111, allocations: 406.3 kB / 1.375 GB, free: 2.031 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.663e-05/0.5112, allocations: 48 kB / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008069/0.512, allocations: 331.3 kB / 1.375 GB, free: 1.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.5123, allocations: 259.2 kB / 1.376 GB, free: 1.406 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003899/0.5127, allocations: 286.7 kB / 1.376 GB, free: 1.125 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.514, allocations: 0.9806 MB / 1.377 GB, free: 144 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5141, allocations: 7.875 kB / 1.377 GB, free: 136 kB / 1.061 GB Notification: Performance of FrontEnd: time 6.342e-06/0.5141, allocations: 4 kB / 1.377 GB, free: 132 kB / 1.061 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.5141, allocations: 0 / 1.377 GB, free: 132 kB / 1.061 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.001906/0.516, allocations: 0.9132 MB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.952e-05/0.516, allocations: 8.031 kB / 1.378 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.5176, allocations: 196.3 kB / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009908/0.5185, allocations: 463.6 kB / 1.378 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.5186, allocations: 37.36 kB / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.5188, allocations: 60.55 kB / 1.379 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.5202, allocations: 0.9834 MB / 1.38 GB, free: 13.31 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.5202, allocations: 0 / 1.38 GB, free: 13.31 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.5203, allocations: 27.98 kB / 1.38 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002277/0.5205, allocations: 68.94 kB / 1.38 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.5216, allocations: 0.5657 MB / 1.38 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004823/0.5264, allocations: 3.488 MB / 1.384 GB, free: 9.031 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.5269, allocations: 275.3 kB / 1.384 GB, free: 8.754 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/0.5273, allocations: 213.3 kB / 1.384 GB, free: 8.543 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.5273, allocations: 4.281 kB / 1.384 GB, free: 8.539 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.5274, allocations: 38.84 kB / 1.384 GB, free: 8.492 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 2.915e-06/0.5274, allocations: 11.88 kB / 1.384 GB, free: 8.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=40): time 0.006011/0.5334, allocations: 2.323 MB / 1.386 GB, free: 6.105 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.5335, allocations: 55.41 kB / 1.386 GB, free: 6.039 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/0.534, allocations: 425.7 kB / 1.387 GB, free: 5.621 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.5341, allocations: 33.7 kB / 1.387 GB, free: 5.582 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.5344, allocations: 360.3 kB / 1.387 GB, free: 5.223 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.5346, allocations: 146.8 kB / 1.387 GB, free: 5.078 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.5348, allocations: 110.2 kB / 1.387 GB, free: 4.965 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.535, allocations: 362.7 kB / 1.388 GB, free: 4.602 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/0.5354, allocations: 237.2 kB / 1.388 GB, free: 4.371 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.536, allocations: 403.4 kB / 1.388 GB, free: 3.898 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.537, allocations: 0.6778 MB / 1.389 GB, free: 3.148 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.537, allocations: 4 kB / 1.389 GB, free: 3.145 MB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001999/0.539, allocations: 0.9057 MB / 1.39 GB, free: 2.223 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.539, allocations: 10.03 kB / 1.39 GB, free: 2.215 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.539, allocations: 8 kB / 1.39 GB, free: 2.207 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008344/0.5399, allocations: 223 kB / 1.39 GB, free: 1.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.5404, allocations: 111.8 kB / 1.39 GB, free: 1.871 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006296/0.5467, allocations: 4.937 MB / 1.395 GB, free: 12.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.5473, allocations: 27.98 kB / 1.395 GB, free: 12.59 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.5473, allocations: 23.98 kB / 1.395 GB, free: 12.57 MB / 1.092 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.0004191/0.5478, allocations: 233.7 kB / 1.395 GB, free: 12.33 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.5479, allocations: 59.62 kB / 1.395 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.5496, allocations: 0.7653 MB / 1.396 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.5496, allocations: 8.172 kB / 1.396 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.907e-05/0.5497, allocations: 8 kB / 1.396 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5497, allocations: 3.938 kB / 1.396 GB, free: 11.47 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.5523, allocations: 1.327 MB / 1.397 GB, free: 10.08 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.5523, allocations: 4 kB / 1.397 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.5527, allocations: 63.95 kB / 1.398 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007261/0.5534, allocations: 210.5 kB / 1.398 GB, free: 9.797 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.5534, allocations: 11.98 kB / 1.398 GB, free: 9.785 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006202/0.5596, allocations: 4.864 MB / 1.403 GB, free: 4.613 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5596, allocations: 4 kB / 1.403 GB, free: 4.609 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.562, allocations: 1.135 MB / 1.404 GB, free: 3.426 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.5623, allocations: 87.62 kB / 1.404 GB, free: 3.34 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/0.5624, allocations: 15.98 kB / 1.404 GB, free: 3.324 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.5627, allocations: 23.97 kB / 1.404 GB, free: 3.301 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5628, allocations: 31.94 kB / 1.404 GB, free: 3.27 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.5629, allocations: 16 kB / 1.404 GB, free: 3.254 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003813/0.5633, allocations: 283.1 kB / 1.404 GB, free: 2.984 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5633, allocations: 4 kB / 1.404 GB, free: 2.98 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000781/0.564, allocations: 168.1 kB / 1.404 GB, free: 2.816 MB / 1.092 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.0001841/0.5642, allocations: 115.2 kB / 1.404 GB, free: 2.695 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001907/0.5661, allocations: 0.9732 MB / 1.405 GB, free: 1.684 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5661, allocations: 0 / 1.405 GB, free: 1.684 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.5672, allocations: 0.6642 MB / 1.406 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009041/0.5682, allocations: 176.2 kB / 1.406 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.5709, allocations: 1.257 MB / 1.407 GB, free: 15.5 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.5714, allocations: 350 kB / 1.408 GB, free: 15.14 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000426/0.5718, allocations: 112.7 kB / 1.408 GB, free: 15.03 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.5719, allocations: 35.44 kB / 1.408 GB, free: 14.99 MB / 1.107 GB Notification: Performance of SimCode: time 1.373e-06/0.5719, allocations: 0 / 1.408 GB, free: 14.99 MB / 1.107 GB Notification: Performance of Templates: time 0.02232/0.5942, allocations: 9.824 MB / 1.417 GB, free: 5.363 MB / 1.107 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.08690501563251]