Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001702/0.001702, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001968/0.001968, allocations: 191.9 kB / 22.17 MB, free: 5.656 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.532/1.532, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.88 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7959/0.7979, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01044/0.8083, allocations: 7.064 MB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005763/0.8141, allocations: 3.192 MB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006072/0.8147, allocations: 27.81 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00277/0.8175, allocations: 0.9858 MB / 1.285 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.8189, allocations: 0.5207 MB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.8202, allocations: 450.3 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.822, allocations: 1.228 MB / 1.287 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009423/0.823, allocations: 481 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008335/0.8238, allocations: 478.3 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009479/0.8248, allocations: 0.5565 MB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.8249, allocations: 68 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008183/0.8257, allocations: 387.2 kB / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003939/0.8261, allocations: 323 kB / 1.289 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006028/0.8267, allocations: 449.8 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.8285, allocations: 1.229 MB / 1.291 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.8285, allocations: 4 kB / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8285, allocations: 4 kB / 1.291 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.949e-05/0.8285, allocations: 0 / 1.291 GB, free: 3.074 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002468/0.831, allocations: 1.183 MB / 1.292 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.8311, allocations: 8.031 kB / 1.292 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.8327, allocations: 248.1 kB / 1.292 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.834, allocations: 0.612 MB / 1.293 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.8341, allocations: 49.69 kB / 1.293 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.8342, allocations: 60.36 kB / 1.293 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.836, allocations: 1.093 MB / 1.294 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.836, allocations: 3.938 kB / 1.294 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.064e-05/0.8361, allocations: 32 kB / 1.294 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/0.8362, allocations: 85.25 kB / 1.294 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.8375, allocations: 0.7465 MB / 1.295 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00626/0.8438, allocations: 5.894 MB / 1.301 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.8448, allocations: 0.5028 MB / 1.301 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.8453, allocations: 286 kB / 1.302 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.8453, allocations: 8.438 kB / 1.302 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.8453, allocations: 39 kB / 1.302 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.354e-06/0.8453, allocations: 0 / 1.302 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.00422/0.8496, allocations: 1.991 MB / 1.304 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.8496, allocations: 59.84 kB / 1.304 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007736/0.8504, allocations: 0.5665 MB / 1.304 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.8504, allocations: 29.7 kB / 1.304 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.8508, allocations: 432.1 kB / 1.305 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.851, allocations: 174.5 kB / 1.305 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.8512, allocations: 130.6 kB / 1.305 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.8514, allocations: 378.7 kB / 1.305 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.8518, allocations: 273.8 kB / 1.306 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006346/0.8525, allocations: 493 kB / 1.306 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.8536, allocations: 0.8093 MB / 1.307 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.8536, allocations: 4 kB / 1.307 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002066/0.8557, allocations: 1.079 MB / 1.308 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.8557, allocations: 8 kB / 1.308 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.8557, allocations: 8 kB / 1.308 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009066/0.8566, allocations: 283.7 kB / 1.308 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.8571, allocations: 131.7 kB / 1.308 GB, free: 440 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007814/0.865, allocations: 7.142 MB / 1.315 GB, free: 8.723 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007471/0.8657, allocations: 35.95 kB / 1.315 GB, free: 8.688 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.8658, allocations: 32 kB / 1.315 GB, free: 8.656 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0005783/0.8664, allocations: 262.3 kB / 1.316 GB, free: 8.391 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.8666, allocations: 71.58 kB / 1.316 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.8684, allocations: 0.8846 MB / 1.316 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.984e-06/0.8684, allocations: 8 kB / 1.316 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.8684, allocations: 4 kB / 1.316 GB, free: 7.395 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.8684, allocations: 7.969 kB / 1.316 GB, free: 7.387 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/0.8714, allocations: 1.709 MB / 1.318 GB, free: 5.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.8714, allocations: 0 / 1.318 GB, free: 5.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.8717, allocations: 63.83 kB / 1.318 GB, free: 5.527 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007902/0.8725, allocations: 267.4 kB / 1.318 GB, free: 5.254 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.8726, allocations: 12 kB / 1.318 GB, free: 5.242 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007643/0.8802, allocations: 7.123 MB / 1.325 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8802, allocations: 4.031 kB / 1.325 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.8819, allocations: 0.9837 MB / 1.326 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.8823, allocations: 188.8 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.8825, allocations: 23.94 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.8829, allocations: 31.89 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.883, allocations: 43.89 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.883, allocations: 12 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004979/0.8835, allocations: 399.1 kB / 1.327 GB, free: 11.83 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.8835, allocations: 0 / 1.327 GB, free: 11.83 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008249/0.8843, allocations: 224 kB / 1.327 GB, free: 11.61 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001596/0.8845, allocations: 111.2 kB / 1.327 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.8867, allocations: 1.228 MB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.8867, allocations: 4 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.888, allocations: 0.8658 MB / 1.329 GB, free: 9.297 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.8891, allocations: 220.6 kB / 1.33 GB, free: 9.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.8917, allocations: 1.371 MB / 1.331 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007903/0.8925, allocations: 1.009 MB / 1.332 GB, free: 6.621 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003951/0.8929, allocations: 122 kB / 1.332 GB, free: 6.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.893, allocations: 39.44 kB / 1.332 GB, free: 6.461 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.893, allocations: 0 / 1.332 GB, free: 6.461 MB / 1.029 GB Notification: Performance of Templates: time 0.02258/0.9156, allocations: 11.7 MB / 1.344 GB, free: 10.89 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.165057538077235]