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.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.001705/0.001705, 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.002455/0.002455, allocations: 211.6 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.777 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.875/2.875, allocations: 475.9 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] 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.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_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: 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.002137/0.002137, allocations: 70.23 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3476, allocations: 170 MB / 1.283 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009583/0.3572, allocations: 6.565 MB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005817/0.363, allocations: 3.064 MB / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008357/0.3638, allocations: 39.62 kB / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.3668, allocations: 0.9516 MB / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.3683, allocations: 0.5207 MB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.3696, allocations: 449 kB / 1.294 GB, free: 264 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001698/0.3713, allocations: 1.236 MB / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.3723, allocations: 0.5295 MB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.3735, allocations: 498.3 kB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.3745, allocations: 0.5097 MB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.3747, allocations: 68 kB / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009746/0.3757, allocations: 339.2 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003518/0.376, allocations: 327 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004643/0.3765, allocations: 378.2 kB / 1.298 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.378, allocations: 1.234 MB / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.378, allocations: 0 / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.552e-06/0.378, allocations: 0 / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.3781, allocations: 0 / 1.299 GB, free: 11.16 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.002102/0.3802, allocations: 1.123 MB / 1.3 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3802, allocations: 8.031 kB / 1.3 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.3817, allocations: 248.1 kB / 1.301 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.3828, allocations: 0.536 MB / 1.301 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.823e-05/0.3828, allocations: 49.66 kB / 1.301 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.383, allocations: 68.36 kB / 1.301 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.3847, allocations: 1.336 MB / 1.303 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.3847, allocations: 3.938 kB / 1.303 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.396e-05/0.3848, allocations: 35.98 kB / 1.303 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.385, allocations: 89.25 kB / 1.303 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.3862, allocations: 0.7465 MB / 1.303 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005632/0.3918, allocations: 4.531 MB / 1.308 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.3929, allocations: 0.5047 MB / 1.308 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/0.3933, allocations: 286.9 kB / 1.309 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.3933, allocations: 8.438 kB / 1.309 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.3934, allocations: 35 kB / 1.309 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.3934, allocations: 7.938 kB / 1.309 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.004248/0.3976, allocations: 1.675 MB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.3977, allocations: 59.84 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.3983, allocations: 0.5145 MB / 1.311 GB, free: 14.85 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.3983, allocations: 33.7 kB / 1.311 GB, free: 14.81 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.3987, allocations: 431.8 kB / 1.311 GB, free: 14.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.3988, allocations: 182.4 kB / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.399, allocations: 126.6 kB / 1.312 GB, free: 14.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002099/0.3992, allocations: 374.7 kB / 1.312 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.3997, allocations: 273.8 kB / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.4003, allocations: 492.9 kB / 1.313 GB, free: 12.86 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.4014, allocations: 0.8122 MB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.4014, allocations: 4 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001897/0.4033, allocations: 1.074 MB / 1.315 GB, free: 10.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.4033, allocations: 14.19 kB / 1.315 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.4033, allocations: 8 kB / 1.315 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000856/0.4042, allocations: 279.1 kB / 1.315 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.4047, allocations: 123.8 kB / 1.315 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007253/0.4119, allocations: 6.598 MB / 1.321 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/0.4126, allocations: 43.95 kB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.4126, allocations: 24 kB / 1.321 GB, free: 3.352 MB / 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.0003957/0.413, allocations: 257.6 kB / 1.322 GB, free: 3.09 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.4131, allocations: 67.58 kB / 1.322 GB, free: 3.023 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.4149, allocations: 0.8764 MB / 1.323 GB, free: 2.121 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4149, allocations: 4 kB / 1.323 GB, free: 2.117 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4149, allocations: 4 kB / 1.323 GB, free: 2.113 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.4149, allocations: 7.922 kB / 1.323 GB, free: 2.105 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.4177, allocations: 1.525 MB / 1.324 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.4177, allocations: 4 kB / 1.324 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.418, allocations: 63.89 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007455/0.4187, allocations: 267.3 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.4187, allocations: 12 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006846/0.4256, allocations: 6.579 MB / 1.331 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.4256, allocations: 7.969 kB / 1.331 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.4272, allocations: 0.9722 MB / 1.332 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.4276, allocations: 111.5 kB / 1.332 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.859e-05/0.4276, allocations: 15.94 kB / 1.332 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.428, allocations: 27.97 kB / 1.332 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.4281, allocations: 43.86 kB / 1.332 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.4281, allocations: 16 kB / 1.332 GB, free: 7.941 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004189/0.4286, allocations: 342.8 kB / 1.332 GB, free: 7.609 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4286, allocations: 4 kB / 1.332 GB, free: 7.605 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008552/0.4294, allocations: 224 kB / 1.333 GB, free: 7.387 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.0001754/0.4296, allocations: 115.2 kB / 1.333 GB, free: 7.262 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002042/0.4316, allocations: 1.24 MB / 1.334 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4316, allocations: 0 / 1.334 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.4329, allocations: 0.8659 MB / 1.335 GB, free: 5.055 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009818/0.4339, allocations: 206 kB / 1.335 GB, free: 4.863 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.4362, allocations: 1.364 MB / 1.336 GB, free: 3.449 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.4367, allocations: 412.8 kB / 1.337 GB, free: 3.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003631/0.4371, allocations: 125.5 kB / 1.337 GB, free: 2.895 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.4372, allocations: 43.38 kB / 1.337 GB, free: 2.852 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/0.4372, allocations: 0 / 1.337 GB, free: 2.852 MB / 1.029 GB Notification: Performance of Templates: time 0.02174/0.4589, allocations: 12.29 MB / 1.349 GB, free: 6.805 MB / 1.045 GB " [Timeout remaining time 299] 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: 9.48340623639524]