Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001651/0.001651, 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.001871/0.001871, allocations: 210.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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.135/3.135, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [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.002064/0.002064, allocations: 71.69 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3356, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009644/0.3452, allocations: 6.48 MB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005528/0.3508, allocations: 3.044 MB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005331/0.3513, allocations: 35.69 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.3539, allocations: 0.953 MB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.3551, allocations: 0.5207 MB / 1.336 GB, free: 6.797 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.3561, allocations: 423.1 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001677/0.3578, allocations: 1.221 MB / 1.338 GB, free: 5.156 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000986/0.3588, allocations: 0.5373 MB / 1.338 GB, free: 4.609 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008908/0.3597, allocations: 490.3 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008869/0.3606, allocations: 0.5175 MB / 1.339 GB, free: 3.609 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.3607, allocations: 68 kB / 1.339 GB, free: 3.543 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000656/0.3614, allocations: 343.3 kB / 1.34 GB, free: 3.207 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.3617, allocations: 315.1 kB / 1.34 GB, free: 2.898 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.3621, allocations: 370.2 kB / 1.34 GB, free: 2.535 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.3635, allocations: 1.234 MB / 1.342 GB, free: 1.297 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3635, allocations: 0 / 1.342 GB, free: 1.297 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3635, allocations: 0 / 1.342 GB, free: 1.297 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.3635, allocations: 4 kB / 1.342 GB, free: 1.293 MB / 1.029 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.001941/0.3655, allocations: 1.108 MB / 1.343 GB, free: 152 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3655, allocations: 16.03 kB / 1.343 GB, free: 136 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.367, allocations: 236.1 kB / 1.343 GB, free: 15.9 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.368, allocations: 0.5269 MB / 1.343 GB, free: 15.35 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.3681, allocations: 45.67 kB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.3682, allocations: 68.36 kB / 1.344 GB, free: 15.24 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.37, allocations: 1.336 MB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.37, allocations: 3.938 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.517e-05/0.3701, allocations: 35.98 kB / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001657/0.3702, allocations: 85.25 kB / 1.345 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.3715, allocations: 0.7504 MB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005235/0.3767, allocations: 4.527 MB / 1.35 GB, free: 8.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.3777, allocations: 0.5189 MB / 1.351 GB, free: 7.648 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.3782, allocations: 289.6 kB / 1.351 GB, free: 7.363 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.3782, allocations: 8.422 kB / 1.351 GB, free: 7.355 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.3782, allocations: 39 kB / 1.351 GB, free: 7.309 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.3782, allocations: 0 / 1.351 GB, free: 7.309 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003881/0.3821, allocations: 1.667 MB / 1.353 GB, free: 5.625 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.3822, allocations: 71.77 kB / 1.353 GB, free: 5.539 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006247/0.3828, allocations: 0.5065 MB / 1.353 GB, free: 5.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.3828, allocations: 37.7 kB / 1.353 GB, free: 4.977 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.3832, allocations: 423.9 kB / 1.354 GB, free: 4.559 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.3833, allocations: 182.5 kB / 1.354 GB, free: 4.379 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.3835, allocations: 126.6 kB / 1.354 GB, free: 4.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002176/0.3838, allocations: 374.7 kB / 1.354 GB, free: 3.875 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.3842, allocations: 273.8 kB / 1.355 GB, free: 3.609 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/0.3848, allocations: 497.4 kB / 1.355 GB, free: 3.027 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.3859, allocations: 0.8045 MB / 1.356 GB, free: 2.133 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3859, allocations: 4 kB / 1.356 GB, free: 2.129 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001868/0.3878, allocations: 1.066 MB / 1.357 GB, free: 1.039 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.3878, allocations: 21.8 kB / 1.357 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3878, allocations: 4 kB / 1.357 GB, free: 1.016 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008673/0.3887, allocations: 283.1 kB / 1.357 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.3892, allocations: 123.8 kB / 1.357 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007069/0.3963, allocations: 6.598 MB / 1.364 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005664/0.3968, allocations: 39.95 kB / 1.364 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.3969, allocations: 28.05 kB / 1.364 GB, free: 9.523 MB / 1.061 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.0003803/0.3972, allocations: 249.7 kB / 1.364 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.3974, allocations: 75.56 kB / 1.364 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.3992, allocations: 0.8763 MB / 1.365 GB, free: 8.301 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.3992, allocations: 4 kB / 1.365 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3992, allocations: 4 kB / 1.365 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3992, allocations: 0 / 1.365 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.4033, allocations: 1.529 MB / 1.366 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4033, allocations: 0 / 1.366 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.4037, allocations: 59.89 kB / 1.366 GB, free: 6.637 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.4049, allocations: 271.4 kB / 1.367 GB, free: 6.359 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.4049, allocations: 8 kB / 1.367 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/0.4153, allocations: 6.586 MB / 1.373 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.4153, allocations: 4.031 kB / 1.373 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.4178, allocations: 0.9765 MB / 1.374 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.4182, allocations: 115.5 kB / 1.374 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.4184, allocations: 11.94 kB / 1.374 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.4189, allocations: 31.95 kB / 1.374 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.4191, allocations: 47.86 kB / 1.374 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.4191, allocations: 12 kB / 1.374 GB, free: 14.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006492/0.4198, allocations: 334.9 kB / 1.375 GB, free: 13.79 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4198, allocations: 4 kB / 1.375 GB, free: 13.78 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001281/0.4211, allocations: 224 kB / 1.375 GB, free: 13.56 MB / 1.076 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.000215/0.4213, allocations: 123.1 kB / 1.375 GB, free: 13.43 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003233/0.4245, allocations: 1.236 MB / 1.376 GB, free: 12.15 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.4245, allocations: 3.938 kB / 1.376 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/0.4268, allocations: 0.862 MB / 1.377 GB, free: 11.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.4286, allocations: 197.2 kB / 1.377 GB, free: 11.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.4326, allocations: 1.354 MB / 1.379 GB, free: 9.637 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008/0.4334, allocations: 419.3 kB / 1.379 GB, free: 9.199 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006796/0.434, allocations: 113.5 kB / 1.379 GB, free: 9.086 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.4342, allocations: 39.44 kB / 1.379 GB, free: 9.051 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/0.4342, allocations: 0 / 1.379 GB, free: 9.051 MB / 1.076 GB Notification: Performance of Templates: time 0.04034/0.4746, allocations: 12.28 MB / 1.391 GB, free: 13.01 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.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.304626336321235]