Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002768/0.002768, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.003288/0.003288, allocations: 157.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.536/1.536, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.018/3.018, allocations: 377.8 MB / 0.6232 GB, free: 8.5 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.93e-05, allocations: 4.656 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008907/0.008936, allocations: 5.511 MB / 0.8162 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005422/0.01436, allocations: 2.672 MB / 0.8188 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.01475, allocations: 34.19 kB / 0.8188 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.01686, allocations: 0.7051 MB / 0.8195 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.01791, allocations: 432.8 kB / 0.8199 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.01895, allocations: 393.1 kB / 0.8203 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.02019, allocations: 0.9902 MB / 0.8213 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006508/0.02084, allocations: 383.4 kB / 0.8216 GB, free: 7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000795/0.02163, allocations: 0.5155 MB / 0.8221 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006439/0.02228, allocations: 370.9 kB / 0.8225 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.02238, allocations: 48 kB / 0.8225 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007065/0.02308, allocations: 335.9 kB / 0.8229 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.02342, allocations: 267.2 kB / 0.8231 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.02376, allocations: 241.6 kB / 0.8233 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.02519, allocations: 1.005 MB / 0.8243 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.02519, allocations: 0 / 0.8243 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.283e-06/0.0252, allocations: 0 / 0.8243 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.02521, allocations: 0 / 0.8243 GB, free: 4.242 MB / 0.7761 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.001804/0.02702, allocations: 1.047 MB / 0.8254 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.02706, allocations: 12.02 kB / 0.8254 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.02858, allocations: 287.9 kB / 0.8256 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.02955, allocations: 492.9 kB / 0.8261 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.0296, allocations: 37.36 kB / 0.8261 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.02977, allocations: 57.55 kB / 0.8262 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.03104, allocations: 0.8333 MB / 0.827 GB, free: 1.301 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.03107, allocations: 12.11 kB / 0.827 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.506e-05/0.03115, allocations: 37.17 kB / 0.8271 GB, free: 1.254 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000201/0.03135, allocations: 60.95 kB / 0.8271 GB, free: 1.195 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.03203, allocations: 320.6 kB / 0.8274 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/0.03756, allocations: 4.549 MB / 0.8319 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.03796, allocations: 160.4 kB / 0.832 GB, free: 12 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.03819, allocations: 109.5 kB / 0.8321 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.03823, allocations: 12.22 kB / 0.8321 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.03827, allocations: 33.67 kB / 0.8322 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.03827, allocations: 7.938 kB / 0.8322 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.004967/0.04324, allocations: 1.652 MB / 0.8338 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.04329, allocations: 59.41 kB / 0.8338 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006233/0.04391, allocations: 0.5258 MB / 0.8344 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.04395, allocations: 29.7 kB / 0.8344 GB, free: 9.477 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.0443, allocations: 419.1 kB / 0.8348 GB, free: 9.059 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.04446, allocations: 158.7 kB / 0.8349 GB, free: 8.902 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.04467, allocations: 120 kB / 0.8351 GB, free: 8.777 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003401/0.04501, allocations: 0.5586 MB / 0.8356 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.04529, allocations: 121.2 kB / 0.8357 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.04579, allocations: 383.3 kB / 0.8361 GB, free: 7.609 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/0.04664, allocations: 0.5411 MB / 0.8366 GB, free: 6.969 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.04664, allocations: 4 kB / 0.8366 GB, free: 6.965 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001582/0.04823, allocations: 0.6952 MB / 0.8373 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.04825, allocations: 4 kB / 0.8373 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.04826, allocations: 8 kB / 0.8373 GB, free: 6.238 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.04947, allocations: 243.4 kB / 0.8375 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005461/0.05002, allocations: 119.8 kB / 0.8376 GB, free: 5.871 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006228/0.05624, allocations: 5.8 MB / 0.8433 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.05669, allocations: 32.03 kB / 0.8433 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.05674, allocations: 27.94 kB / 0.8434 GB, free: 15.65 MB / 0.8073 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.000313/0.05705, allocations: 212.4 kB / 0.8436 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.05718, allocations: 63.67 kB / 0.8436 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.05863, allocations: 0.5433 MB / 0.8442 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.05864, allocations: 7.984 kB / 0.8442 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.05865, allocations: 4 kB / 0.8442 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.05865, allocations: 0 / 0.8442 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.06125, allocations: 1.185 MB / 0.8453 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.06125, allocations: 0 / 0.8453 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.06166, allocations: 71.89 kB / 0.8454 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.06276, allocations: 223.1 kB / 0.8456 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.0628, allocations: 12 kB / 0.8456 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006073/0.06887, allocations: 5.791 MB / 0.8513 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.06888, allocations: 8.062 kB / 0.8513 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.07061, allocations: 0.8158 MB / 0.8521 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.0709, allocations: 87.62 kB / 0.8522 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.07097, allocations: 11.94 kB / 0.8522 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.0713, allocations: 28 kB / 0.8522 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.07142, allocations: 39.88 kB / 0.8522 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.07145, allocations: 8 kB / 0.8522 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004147/0.07187, allocations: 339 kB / 0.8526 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.07187, allocations: 0 / 0.8526 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007605/0.07263, allocations: 172 kB / 0.8527 GB, free: 5.492 MB / 0.8073 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.0001988/0.07283, allocations: 111.2 kB / 0.8528 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.07455, allocations: 0.9686 MB / 0.8538 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.07455, allocations: 0 / 0.8538 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.07568, allocations: 0.7665 MB / 0.8545 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008966/0.07658, allocations: 180 kB / 0.8547 GB, free: 3.355 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.07871, allocations: 1.162 MB / 0.8558 GB, free: 2.129 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.07915, allocations: 334.1 kB / 0.8562 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002967/0.07944, allocations: 92.77 kB / 0.8563 GB, free: 1.688 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.07956, allocations: 40.44 kB / 0.8563 GB, free: 1.648 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.07956, allocations: 0 / 0.8563 GB, free: 1.648 MB / 0.8073 GB Notification: Performance of Templates: time 0.01917/0.09873, allocations: 9.173 MB / 0.8652 GB, free: 8.699 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.599139461992308]