Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.002137/0.002137, allocations: 110.6 kB / 16.46 MB, free: 6.508 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.002622/0.002622, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.539/1.539, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.238/3.238, allocations: 0.4899 GB / 0.7916 GB, free: 33.38 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.002116/0.002116, allocations: 66.39 kB / 1.149 GB, free: 26.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3801, allocations: 176.1 MB / 1.321 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01018/0.3903, allocations: 6.91 MB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005971/0.3963, allocations: 3.145 MB / 1.331 GB, free: 8.781 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005905/0.3969, allocations: 39.62 kB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002653/0.3995, allocations: 0.9683 MB / 1.332 GB, free: 7.773 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.4009, allocations: 0.5129 MB / 1.333 GB, free: 7.258 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.4021, allocations: 447 kB / 1.333 GB, free: 6.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.4037, allocations: 1.224 MB / 1.334 GB, free: 5.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008443/0.4045, allocations: 0.5374 MB / 1.335 GB, free: 5.047 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007168/0.4052, allocations: 498.2 kB / 1.335 GB, free: 4.559 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007543/0.406, allocations: 0.5487 MB / 1.336 GB, free: 4.008 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.4061, allocations: 64 kB / 1.336 GB, free: 3.945 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00074/0.4068, allocations: 387.2 kB / 1.336 GB, free: 3.566 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003357/0.4072, allocations: 319.1 kB / 1.336 GB, free: 3.254 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004716/0.4076, allocations: 449.7 kB / 1.337 GB, free: 2.812 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.4091, allocations: 1.233 MB / 1.338 GB, free: 1.574 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4091, allocations: 0 / 1.338 GB, free: 1.574 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4091, allocations: 4 kB / 1.338 GB, free: 1.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.4092, allocations: 0 / 1.338 GB, free: 1.57 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.002152/0.4113, allocations: 1.199 MB / 1.339 GB, free: 324 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4113, allocations: 11.98 kB / 1.339 GB, free: 312 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.413, allocations: 240.1 kB / 1.339 GB, free: 72 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.414, allocations: 0.6082 MB / 1.34 GB, free: 15.43 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.414, allocations: 45.67 kB / 1.34 GB, free: 15.38 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.4142, allocations: 68.31 kB / 1.34 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.4158, allocations: 1.089 MB / 1.341 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.4159, allocations: 4 kB / 1.341 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.4159, allocations: 31.92 kB / 1.341 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001759/0.4161, allocations: 85.25 kB / 1.341 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.4174, allocations: 0.7543 MB / 1.342 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006275/0.4237, allocations: 5.886 MB / 1.348 GB, free: 6.93 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.4247, allocations: 0.5154 MB / 1.348 GB, free: 6.402 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/0.4252, allocations: 286.8 kB / 1.349 GB, free: 6.121 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.4253, allocations: 4.438 kB / 1.349 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.4253, allocations: 42.98 kB / 1.349 GB, free: 6.066 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/0.4253, allocations: 0 / 1.349 GB, free: 6.066 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.00424/0.4295, allocations: 1.991 MB / 1.351 GB, free: 3.984 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.4296, allocations: 55.84 kB / 1.351 GB, free: 3.918 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007227/0.4303, allocations: 0.5588 MB / 1.351 GB, free: 3.348 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.4304, allocations: 37.7 kB / 1.351 GB, free: 3.305 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.4307, allocations: 428 kB / 1.352 GB, free: 2.883 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.4309, allocations: 186.5 kB / 1.352 GB, free: 2.699 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.4311, allocations: 122.6 kB / 1.352 GB, free: 2.574 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.4313, allocations: 378.7 kB / 1.352 GB, free: 2.195 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.4317, allocations: 273.8 kB / 1.353 GB, free: 1.926 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/0.4324, allocations: 0.4892 MB / 1.353 GB, free: 1.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.4335, allocations: 0.8054 MB / 1.354 GB, free: 448 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4335, allocations: 8 kB / 1.354 GB, free: 440 kB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001914/0.4354, allocations: 1.075 MB / 1.355 GB, free: 15.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4354, allocations: 8.875 kB / 1.355 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.4354, allocations: 4 kB / 1.355 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009019/0.4363, allocations: 291.2 kB / 1.355 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.4369, allocations: 127.7 kB / 1.355 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007648/0.4445, allocations: 7.13 MB / 1.362 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/0.4452, allocations: 44.03 kB / 1.362 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.4453, allocations: 28 kB / 1.362 GB, free: 7.137 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.0004119/0.4457, allocations: 249.5 kB / 1.363 GB, free: 6.883 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.4458, allocations: 75.53 kB / 1.363 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.4475, allocations: 0.8886 MB / 1.364 GB, free: 5.891 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4475, allocations: 4 kB / 1.364 GB, free: 5.887 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.4475, allocations: 4 kB / 1.364 GB, free: 5.883 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4475, allocations: 3.984 kB / 1.364 GB, free: 5.879 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.4505, allocations: 1.709 MB / 1.365 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4505, allocations: 4 kB / 1.365 GB, free: 4.078 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.4508, allocations: 68.02 kB / 1.365 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008257/0.4516, allocations: 271.1 kB / 1.366 GB, free: 3.734 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.4516, allocations: 8.062 kB / 1.366 GB, free: 3.727 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007788/0.4594, allocations: 7.131 MB / 1.373 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.4594, allocations: 4.031 kB / 1.373 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.4612, allocations: 0.976 MB / 1.373 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/0.4616, allocations: 200.5 kB / 1.374 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/0.4617, allocations: 11.98 kB / 1.374 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.4621, allocations: 31.91 kB / 1.374 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.4622, allocations: 47.89 kB / 1.374 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.4622, allocations: 15.98 kB / 1.374 GB, free: 10.69 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005413/0.4628, allocations: 387.1 kB / 1.374 GB, free: 10.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4628, allocations: 0 / 1.374 GB, free: 10.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008955/0.4637, allocations: 224 kB / 1.374 GB, free: 10.1 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.0001879/0.4639, allocations: 119.2 kB / 1.374 GB, free: 9.973 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002226/0.4661, allocations: 1.236 MB / 1.376 GB, free: 8.691 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.4661, allocations: 4 kB / 1.376 GB, free: 8.688 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.4675, allocations: 0.8581 MB / 1.376 GB, free: 7.777 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.4685, allocations: 226.6 kB / 1.377 GB, free: 7.562 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.471, allocations: 1.367 MB / 1.378 GB, free: 6.145 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007409/0.4717, allocations: 1.009 MB / 1.379 GB, free: 5.105 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003611/0.4721, allocations: 129.9 kB / 1.379 GB, free: 4.977 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.4722, allocations: 39.44 kB / 1.379 GB, free: 4.938 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.4722, allocations: 0 / 1.379 GB, free: 4.938 MB / 1.076 GB Notification: Performance of Templates: time 0.02249/0.4947, allocations: 11.47 MB / 1.39 GB, free: 9.609 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.5676712798886]