Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 193.5 kB / 22.23 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 443.4 MB / 0.7321 GB, free: 12.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 59.91 kB / 1.061 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9234/0.9254, allocations: 160.8 MB / 1.218 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009529/0.935, allocations: 5.664 MB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005806/0.9408, allocations: 2.726 MB / 1.227 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006563/0.9414, allocations: 36.5 kB / 1.227 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.9436, allocations: 0.7106 MB / 1.227 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.945, allocations: 425.5 kB / 1.228 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.9462, allocations: 403.7 kB / 1.228 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001496/0.9477, allocations: 0.9519 MB / 1.229 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006369/0.9484, allocations: 334.5 kB / 1.229 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007388/0.9491, allocations: 390 kB / 1.23 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000667/0.9498, allocations: 425.4 kB / 1.23 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.497e-05/0.9499, allocations: 48.09 kB / 1.23 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009992/0.9509, allocations: 368.8 kB / 1.231 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.9512, allocations: 253.8 kB / 1.231 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.9516, allocations: 358.2 kB / 1.231 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.9531, allocations: 0.9736 MB / 1.232 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.9531, allocations: 0 / 1.232 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.424e-06/0.9531, allocations: 0 / 1.232 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.9531, allocations: 3.938 kB / 1.232 GB, free: 9.195 MB / 0.9356 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.001894/0.955, allocations: 0.9923 MB / 1.233 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.9551, allocations: 8.031 kB / 1.233 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.9566, allocations: 196.3 kB / 1.233 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.9576, allocations: 0.5223 MB / 1.234 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/0.9576, allocations: 33.38 kB / 1.234 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.9578, allocations: 56.5 kB / 1.234 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.9592, allocations: 0.8318 MB / 1.235 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.9592, allocations: 4 kB / 1.235 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.113e-05/0.9593, allocations: 24 kB / 1.235 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002115/0.9595, allocations: 64.94 kB / 1.235 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.9605, allocations: 0.5696 MB / 1.235 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005766/0.9663, allocations: 4.581 MB / 1.24 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.9668, allocations: 279.2 kB / 1.24 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.9671, allocations: 213.9 kB / 1.24 GB, free: 312 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.9671, allocations: 288 / 1.24 GB, free: 312 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.9672, allocations: 38.84 kB / 1.24 GB, free: 264 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/0.9672, allocations: 0 / 1.24 GB, free: 264 kB / 0.9356 GB Notification: Performance of matching and sorting (n=40): time 0.006026/0.9732, allocations: 2.631 MB / 1.243 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.9733, allocations: 59.41 kB / 1.243 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005906/0.9739, allocations: 458 kB / 1.243 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.9739, allocations: 37.64 kB / 1.243 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.9742, allocations: 348.5 kB / 1.244 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.9743, allocations: 158.7 kB / 1.244 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.9745, allocations: 102.3 kB / 1.244 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.9747, allocations: 362.8 kB / 1.244 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.9751, allocations: 237.2 kB / 1.245 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.9756, allocations: 403.4 kB / 1.245 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/0.9765, allocations: 0.6817 MB / 1.246 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9766, allocations: 4 kB / 1.246 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001898/0.9785, allocations: 0.9173 MB / 1.247 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.9785, allocations: 8 kB / 1.247 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.9785, allocations: 8 kB / 1.247 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008229/0.9793, allocations: 219 kB / 1.247 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.9799, allocations: 119.8 kB / 1.247 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005742/0.9856, allocations: 5.34 MB / 1.252 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/0.9862, allocations: 31.97 kB / 1.252 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.9862, allocations: 24.06 kB / 1.252 GB, free: 3.395 MB / 0.9512 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.0003798/0.9866, allocations: 231.8 kB / 1.252 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.715e-05/0.9867, allocations: 59.61 kB / 1.252 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.9883, allocations: 0.7655 MB / 1.253 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.9883, allocations: 4 kB / 1.253 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9883, allocations: 7.938 kB / 1.253 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9883, allocations: 0 / 1.253 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/0.991, allocations: 1.491 MB / 1.255 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.991, allocations: 4 kB / 1.255 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.9914, allocations: 67.94 kB / 1.255 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007047/0.9921, allocations: 206.5 kB / 1.255 GB, free: 452 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.9922, allocations: 8 kB / 1.255 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005912/0.9981, allocations: 5.283 MB / 1.26 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9981, allocations: 0 / 1.26 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/1, allocations: 1.128 MB / 1.261 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/1, allocations: 172.7 kB / 1.261 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/1.001, allocations: 15.94 kB / 1.261 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/1.001, allocations: 27.91 kB / 1.261 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.001, allocations: 31.94 kB / 1.261 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/1.001, allocations: 20.06 kB / 1.261 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004322/1.001, allocations: 314.8 kB / 1.262 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/1.001, allocations: 0 / 1.262 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007896/1.002, allocations: 168 kB / 1.262 GB, free: 8.809 MB / 0.9669 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.0001836/1.002, allocations: 123.1 kB / 1.262 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001789/1.004, allocations: 0.9692 MB / 1.263 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.004, allocations: 0 / 1.263 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/1.005, allocations: 0.6642 MB / 1.264 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/1.006, allocations: 180.8 kB / 1.264 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/1.009, allocations: 1.276 MB / 1.265 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/1.009, allocations: 0.9532 MB / 1.266 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003437/1.01, allocations: 113 kB / 1.266 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/1.01, allocations: 35.44 kB / 1.266 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of SimCode: time 9.52e-07/1.01, allocations: 3.938 kB / 1.266 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of Templates: time 0.01876/1.029, allocations: 9.379 MB / 1.275 GB, free: 11.08 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.54011959861964]