Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001478/0.001478, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001856/0.001856, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.263/3.263, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002055/0.002055, allocations: 67.52 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.362, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009288/0.3713, allocations: 7.004 MB / 1.361 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005449/0.3767, allocations: 3.196 MB / 1.364 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005396/0.3773, allocations: 35.69 kB / 1.364 GB, free: 13.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.3799, allocations: 0.9903 MB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.3812, allocations: 0.5207 MB / 1.366 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.3823, allocations: 429.7 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001467/0.3838, allocations: 1.229 MB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008182/0.3846, allocations: 0.5334 MB / 1.368 GB, free: 9.984 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007111/0.3853, allocations: 494.2 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00079/0.3861, allocations: 0.5565 MB / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.3862, allocations: 68 kB / 1.369 GB, free: 8.875 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007654/0.387, allocations: 391.2 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003201/0.3873, allocations: 315.1 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004406/0.3877, allocations: 445.8 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.3891, allocations: 1.222 MB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3891, allocations: 4 kB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3891, allocations: 0 / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.3892, allocations: 0 / 1.371 GB, free: 6.516 MB / 1.061 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.001951/0.3911, allocations: 1.104 MB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3912, allocations: 12.02 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.3926, allocations: 244.1 kB / 1.372 GB, free: 5.125 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009805/0.3936, allocations: 0.523 MB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.3936, allocations: 49.61 kB / 1.373 GB, free: 4.531 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.3937, allocations: 68.36 kB / 1.373 GB, free: 4.465 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.3953, allocations: 1.081 MB / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.3954, allocations: 7.938 kB / 1.374 GB, free: 3.266 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.079e-05/0.3954, allocations: 31.98 kB / 1.374 GB, free: 3.234 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/0.3956, allocations: 85.25 kB / 1.374 GB, free: 3.148 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.3968, allocations: 0.7465 MB / 1.375 GB, free: 2.402 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005862/0.4026, allocations: 5.815 MB / 1.381 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009942/0.4036, allocations: 0.5047 MB / 1.381 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/0.404, allocations: 282 kB / 1.381 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.4041, allocations: 8.375 kB / 1.381 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.4041, allocations: 43 kB / 1.381 GB, free: 11.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 1.883e-06/0.4041, allocations: 0 / 1.381 GB, free: 11.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.003779/0.4079, allocations: 1.682 MB / 1.383 GB, free: 9.621 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.4079, allocations: 63.84 kB / 1.383 GB, free: 9.547 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000665/0.4086, allocations: 0.5548 MB / 1.384 GB, free: 8.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.4087, allocations: 33.7 kB / 1.384 GB, free: 8.941 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.409, allocations: 424 kB / 1.384 GB, free: 8.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.4091, allocations: 182.5 kB / 1.384 GB, free: 8.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.4093, allocations: 122.6 kB / 1.384 GB, free: 8.215 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4095, allocations: 378.7 kB / 1.385 GB, free: 7.836 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.4099, allocations: 281.8 kB / 1.385 GB, free: 7.559 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/0.4105, allocations: 496.9 kB / 1.385 GB, free: 6.973 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.4116, allocations: 0.8083 MB / 1.386 GB, free: 6.066 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4116, allocations: 4 kB / 1.386 GB, free: 6.062 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001846/0.4135, allocations: 1.074 MB / 1.387 GB, free: 4.969 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4135, allocations: 8 kB / 1.387 GB, free: 4.961 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.4135, allocations: 8 kB / 1.387 GB, free: 4.953 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008571/0.4144, allocations: 283.6 kB / 1.388 GB, free: 4.664 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.4149, allocations: 123.8 kB / 1.388 GB, free: 4.543 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006885/0.4217, allocations: 6.721 MB / 1.394 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.4223, allocations: 39.95 kB / 1.394 GB, free: 13.32 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.4223, allocations: 28 kB / 1.394 GB, free: 13.3 MB / 1.092 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.0003871/0.4227, allocations: 262.2 kB / 1.395 GB, free: 13.03 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.4228, allocations: 75.53 kB / 1.395 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.4245, allocations: 0.8767 MB / 1.396 GB, free: 12.06 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4245, allocations: 8 kB / 1.396 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4245, allocations: 4 kB / 1.396 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4245, allocations: 3.984 kB / 1.396 GB, free: 12.04 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.4272, allocations: 1.692 MB / 1.397 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.4272, allocations: 4 kB / 1.397 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.4275, allocations: 67.83 kB / 1.397 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007556/0.4282, allocations: 267.6 kB / 1.398 GB, free: 9.926 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.4283, allocations: 4 kB / 1.398 GB, free: 9.922 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006758/0.435, allocations: 6.72 MB / 1.404 GB, free: 2.746 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.435, allocations: 0 / 1.404 GB, free: 2.746 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.4367, allocations: 0.9838 MB / 1.405 GB, free: 1.715 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.437, allocations: 111.5 kB / 1.405 GB, free: 1.605 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.437, allocations: 12 kB / 1.405 GB, free: 1.594 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.4374, allocations: 31.89 kB / 1.405 GB, free: 1.562 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.4375, allocations: 43.92 kB / 1.405 GB, free: 1.52 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.4375, allocations: 16 kB / 1.405 GB, free: 1.504 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000463/0.438, allocations: 383.1 kB / 1.406 GB, free: 1.133 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.71e-07/0.438, allocations: 4 kB / 1.406 GB, free: 1.129 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007904/0.4388, allocations: 220 kB / 1.406 GB, free: 0.9141 MB / 1.092 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.000161/0.439, allocations: 115.3 kB / 1.406 GB, free: 0.793 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002024/0.441, allocations: 1.24 MB / 1.407 GB, free: 15.5 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.441, allocations: 0 / 1.407 GB, free: 15.5 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.4423, allocations: 0.8696 MB / 1.408 GB, free: 14.58 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.4433, allocations: 238.6 kB / 1.408 GB, free: 14.36 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.4458, allocations: 1.421 MB / 1.41 GB, free: 12.88 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007429/0.4466, allocations: 1.005 MB / 1.411 GB, free: 11.84 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.4467, allocations: 43.44 kB / 1.411 GB, free: 11.8 MB / 1.107 GB Notification: Performance of SimCode: time 1.002e-06/0.4467, allocations: 3.938 kB / 1.411 GB, free: 11.8 MB / 1.107 GB Notification: Performance of Templates: time 0.02584/0.4726, allocations: 20.74 MB / 1.431 GB, free: 7.105 MB / 1.123 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.451890897005796]