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.001876/0.001876, allocations: 110 kB / 18.93 MB, free: 2.945 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.002206/0.002206, allocations: 190.6 kB / 22.23 MB, free: 5.16 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.458/1.458, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.736/2.736, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002092/0.002092, allocations: 66.25 kB / 1.11 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3469, allocations: 168.8 MB / 1.274 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01076/0.3577, allocations: 7.065 MB / 1.281 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006031/0.3637, allocations: 3.188 MB / 1.284 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000619/0.3643, allocations: 43.62 kB / 1.284 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002796/0.3671, allocations: 0.9903 MB / 1.285 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.3685, allocations: 0.5168 MB / 1.286 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.3697, allocations: 455.7 kB / 1.286 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001639/0.3714, allocations: 1.236 MB / 1.288 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008144/0.3722, allocations: 482.8 kB / 1.288 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007074/0.3729, allocations: 486.3 kB / 1.288 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008107/0.3737, allocations: 0.5487 MB / 1.289 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.3738, allocations: 67.94 kB / 1.289 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008837/0.3747, allocations: 387.2 kB / 1.289 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.3751, allocations: 323.1 kB / 1.29 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004628/0.3755, allocations: 449.7 kB / 1.29 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.3771, allocations: 1.233 MB / 1.291 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3771, allocations: 0 / 1.291 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3771, allocations: 0 / 1.291 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.3772, allocations: 0 / 1.291 GB, free: 9.438 MB / 0.9981 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.00231/0.3795, allocations: 1.112 MB / 1.292 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3795, allocations: 8.031 kB / 1.292 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.3812, allocations: 240.1 kB / 1.293 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.3823, allocations: 0.5359 MB / 1.293 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.3823, allocations: 53.67 kB / 1.293 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.3825, allocations: 68.34 kB / 1.293 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.3841, allocations: 1.089 MB / 1.294 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.3842, allocations: 3.938 kB / 1.294 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.3843, allocations: 35.98 kB / 1.294 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/0.3844, allocations: 85.25 kB / 1.294 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.3857, allocations: 0.7504 MB / 1.295 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006402/0.3921, allocations: 5.795 MB / 1.301 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.3931, allocations: 0.5182 MB / 1.301 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/0.3936, allocations: 290 kB / 1.302 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.3936, allocations: 4.438 kB / 1.302 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.3937, allocations: 39 kB / 1.302 GB, free: 14.22 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.505e-06/0.3937, allocations: 4 kB / 1.302 GB, free: 14.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.004002/0.3977, allocations: 1.69 MB / 1.303 GB, free: 12.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.3977, allocations: 55.84 kB / 1.303 GB, free: 12.44 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.3988, allocations: 0.5665 MB / 1.304 GB, free: 11.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.3988, allocations: 37.7 kB / 1.304 GB, free: 11.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/0.3993, allocations: 420.1 kB / 1.304 GB, free: 11.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.3995, allocations: 182.4 kB / 1.305 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.3997, allocations: 130.6 kB / 1.305 GB, free: 11.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000297/0.4, allocations: 378.6 kB / 1.305 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.4004, allocations: 277.8 kB / 1.305 GB, free: 10.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/0.4011, allocations: 496.9 kB / 1.306 GB, free: 9.859 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.4023, allocations: 0.8122 MB / 1.307 GB, free: 8.961 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4023, allocations: 4 kB / 1.307 GB, free: 8.957 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00209/0.4044, allocations: 1.074 MB / 1.308 GB, free: 7.859 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.4044, allocations: 12 kB / 1.308 GB, free: 7.848 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.4044, allocations: 8 kB / 1.308 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008986/0.4053, allocations: 275.2 kB / 1.308 GB, free: 7.559 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.4058, allocations: 123.8 kB / 1.308 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008186/0.414, allocations: 6.74 MB / 1.315 GB, free: 240 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.4147, allocations: 39.97 kB / 1.315 GB, free: 200 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.4147, allocations: 24 kB / 1.315 GB, free: 176 kB / 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.0005463/0.4153, allocations: 255.9 kB / 1.315 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4154, allocations: 71.58 kB / 1.315 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.4171, allocations: 0.8809 MB / 1.316 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4171, allocations: 4 kB / 1.316 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4171, allocations: 4 kB / 1.316 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.4171, allocations: 4.172 kB / 1.316 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.4202, allocations: 1.688 MB / 1.318 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4202, allocations: 4 kB / 1.318 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.4206, allocations: 59.83 kB / 1.318 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007839/0.4213, allocations: 271.3 kB / 1.318 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.4214, allocations: 11.94 kB / 1.318 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008233/0.4296, allocations: 6.734 MB / 1.324 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4296, allocations: 4.031 kB / 1.324 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.4316, allocations: 0.9721 MB / 1.325 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.4319, allocations: 123.5 kB / 1.326 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.728e-05/0.432, allocations: 8 kB / 1.326 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.4324, allocations: 35.91 kB / 1.326 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.4325, allocations: 43.92 kB / 1.326 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.4325, allocations: 12 kB / 1.326 GB, free: 4.375 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004939/0.433, allocations: 399 kB / 1.326 GB, free: 3.992 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.433, allocations: 0 / 1.326 GB, free: 3.992 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008437/0.4339, allocations: 220 kB / 1.326 GB, free: 3.777 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.0001815/0.4341, allocations: 115.2 kB / 1.326 GB, free: 3.652 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002615/0.4367, allocations: 1.232 MB / 1.328 GB, free: 2.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4367, allocations: 4.062 kB / 1.328 GB, free: 2.367 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.4382, allocations: 0.8656 MB / 1.328 GB, free: 1.449 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.4393, allocations: 223.3 kB / 1.329 GB, free: 1.234 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.4419, allocations: 1.364 MB / 1.33 GB, free: 15.81 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008821/0.4428, allocations: 1.009 MB / 1.331 GB, free: 14.78 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003778/0.4432, allocations: 122 kB / 1.331 GB, free: 14.66 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.4434, allocations: 43.44 kB / 1.331 GB, free: 14.61 MB / 1.045 GB Notification: Performance of SimCode: time 9.22e-07/0.4434, allocations: 0 / 1.331 GB, free: 14.61 MB / 1.045 GB Notification: Performance of Templates: time 0.0244/0.4678, allocations: 11.84 MB / 1.343 GB, free: 2.902 MB / 1.045 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.995008189231157]