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.001434/0.001434, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001522/0.001522, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.542/1.542, allocations: 230.5 MB / 252.8 MB, free: 8.98 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.23/3.23, allocations: 0.4899 GB / 0.7915 GB, free: 33.1 MB / 0.6231 GB " [Timeout remaining time 176] 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.002517/0.002517, allocations: 68.06 kB / 1.149 GB, free: 26.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4172, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.0102/0.4274, allocations: 6.841 MB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006059/0.4335, allocations: 3.102 MB / 1.331 GB, free: 8.824 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007839/0.4342, allocations: 35.69 kB / 1.331 GB, free: 8.789 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.4369, allocations: 0.9647 MB / 1.332 GB, free: 7.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.4385, allocations: 0.5168 MB / 1.332 GB, free: 7.301 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.4397, allocations: 428.7 kB / 1.333 GB, free: 6.883 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001745/0.4414, allocations: 1.217 MB / 1.334 GB, free: 5.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009101/0.4424, allocations: 0.5374 MB / 1.335 GB, free: 5.117 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007602/0.4431, allocations: 490.3 kB / 1.335 GB, free: 4.637 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007412/0.4439, allocations: 0.5448 MB / 1.336 GB, free: 4.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.444, allocations: 68 kB / 1.336 GB, free: 4.023 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008122/0.4448, allocations: 391.2 kB / 1.336 GB, free: 3.641 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.4451, allocations: 315.1 kB / 1.336 GB, free: 3.332 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004552/0.4456, allocations: 449.8 kB / 1.337 GB, free: 2.891 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.447, allocations: 1.226 MB / 1.338 GB, free: 1.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.447, allocations: 0 / 1.338 GB, free: 1.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.447, allocations: 0 / 1.338 GB, free: 1.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.4471, allocations: 0 / 1.338 GB, free: 1.66 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.002093/0.4492, allocations: 1.187 MB / 1.339 GB, free: 428 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.4492, allocations: 8.031 kB / 1.339 GB, free: 420 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.4508, allocations: 244.1 kB / 1.339 GB, free: 176 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009701/0.4518, allocations: 0.6042 MB / 1.34 GB, free: 15.53 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.4518, allocations: 45.67 kB / 1.34 GB, free: 15.49 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.4519, allocations: 64.38 kB / 1.34 GB, free: 15.43 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.4536, allocations: 1.089 MB / 1.341 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.4536, allocations: 4 kB / 1.341 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/0.4537, allocations: 35.92 kB / 1.341 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001776/0.4539, allocations: 93.19 kB / 1.341 GB, free: 14.1 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.4551, allocations: 0.7504 MB / 1.342 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006019/0.4611, allocations: 5.882 MB / 1.348 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.4621, allocations: 0.5119 MB / 1.348 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/0.4626, allocations: 287.6 kB / 1.348 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.4626, allocations: 4.438 kB / 1.348 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.4627, allocations: 46.98 kB / 1.349 GB, free: 6.172 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.534e-06/0.4627, allocations: 0 / 1.349 GB, free: 6.172 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.004115/0.4668, allocations: 1.976 MB / 1.35 GB, free: 4.105 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.4668, allocations: 59.84 kB / 1.351 GB, free: 4.035 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000689/0.4675, allocations: 0.5625 MB / 1.351 GB, free: 3.461 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.4676, allocations: 29.7 kB / 1.351 GB, free: 3.426 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.4679, allocations: 428 kB / 1.351 GB, free: 3 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.4681, allocations: 178.5 kB / 1.352 GB, free: 2.824 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.4683, allocations: 130.6 kB / 1.352 GB, free: 2.691 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4685, allocations: 374.7 kB / 1.352 GB, free: 2.316 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/0.469, allocations: 273.8 kB / 1.352 GB, free: 2.047 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/0.4696, allocations: 497 kB / 1.353 GB, free: 1.465 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.4708, allocations: 0.8171 MB / 1.354 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4708, allocations: 0 / 1.354 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001966/0.4728, allocations: 1.08 MB / 1.355 GB, free: 15.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.4728, allocations: 9.719 kB / 1.355 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.4728, allocations: 7.984 kB / 1.355 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009267/0.4738, allocations: 275.4 kB / 1.355 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/0.4743, allocations: 123.8 kB / 1.355 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008161/0.4824, allocations: 7.13 MB / 1.362 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/0.4832, allocations: 40.16 kB / 1.362 GB, free: 7.301 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.4833, allocations: 36.22 kB / 1.362 GB, free: 7.266 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.0005775/0.4838, allocations: 253.6 kB / 1.362 GB, free: 7.008 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.484, allocations: 79.53 kB / 1.362 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.4858, allocations: 0.8884 MB / 1.363 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.4858, allocations: 4 kB / 1.363 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4858, allocations: 4 kB / 1.363 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4858, allocations: 4 kB / 1.363 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.489, allocations: 1.709 MB / 1.365 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.489, allocations: 3.938 kB / 1.365 GB, free: 4.211 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.4893, allocations: 63.83 kB / 1.365 GB, free: 4.148 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008545/0.4901, allocations: 271.4 kB / 1.365 GB, free: 3.871 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.4902, allocations: 8 kB / 1.365 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008433/0.4986, allocations: 7.118 MB / 1.372 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.4986, allocations: 0 / 1.372 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.5007, allocations: 0.9799 MB / 1.373 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/0.5012, allocations: 196.6 kB / 1.373 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.5014, allocations: 16.14 kB / 1.373 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/0.5019, allocations: 39.91 kB / 1.374 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.502, allocations: 39.88 kB / 1.374 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.5021, allocations: 16 kB / 1.374 GB, free: 10.84 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006292/0.5027, allocations: 387.1 kB / 1.374 GB, free: 10.46 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.5027, allocations: 0 / 1.374 GB, free: 10.46 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00114/0.5038, allocations: 224 kB / 1.374 GB, free: 10.24 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.0002477/0.5041, allocations: 111.2 kB / 1.374 GB, free: 10.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002481/0.5066, allocations: 1.24 MB / 1.375 GB, free: 8.836 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.5066, allocations: 0 / 1.375 GB, free: 8.836 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.508, allocations: 0.8659 MB / 1.376 GB, free: 7.918 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.5094, allocations: 226.7 kB / 1.377 GB, free: 7.707 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.5127, allocations: 1.337 MB / 1.378 GB, free: 6.316 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009648/0.5137, allocations: 1.009 MB / 1.379 GB, free: 5.277 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004586/0.5142, allocations: 122 kB / 1.379 GB, free: 5.156 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.5143, allocations: 43.44 kB / 1.379 GB, free: 5.113 MB / 1.076 GB Notification: Performance of SimCode: time 1.764e-06/0.5143, allocations: 4 kB / 1.379 GB, free: 5.109 MB / 1.076 GB Notification: Performance of Templates: time 0.02625/0.5405, allocations: 11.46 MB / 1.39 GB, free: 9.797 MB / 1.092 GB " [Timeout remaining time 299] 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.478216605260968]