Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001807/0.001807, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002475/0.002475, allocations: 220 kB / 23.01 MB, free: 4.609 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 8.074 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.221/3.221, allocations: 0.49 GB / 0.7958 GB, free: 33.44 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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [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.002128/0.002128, allocations: 72.95 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3557, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01523/0.371, allocations: 11.61 MB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.3815, allocations: 6.023 MB / 1.344 GB, free: 15.76 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.3829, allocations: 75.31 kB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004603/0.3875, allocations: 1.803 MB / 1.346 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.3909, allocations: 1.182 MB / 1.347 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.3932, allocations: 0.83 MB / 1.348 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003051/0.3962, allocations: 2.127 MB / 1.35 GB, free: 9.719 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.3978, allocations: 1.025 MB / 1.351 GB, free: 8.664 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.3992, allocations: 0.8796 MB / 1.352 GB, free: 7.781 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.4006, allocations: 0.9533 MB / 1.353 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.4008, allocations: 112 kB / 1.353 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.4032, allocations: 1.212 MB / 1.354 GB, free: 5.5 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006176/0.4038, allocations: 0.5452 MB / 1.355 GB, free: 4.953 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009567/0.4048, allocations: 0.7849 MB / 1.356 GB, free: 4.164 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003976/0.4087, allocations: 2.436 MB / 1.358 GB, free: 1.719 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4088, allocations: 0 / 1.358 GB, free: 1.719 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4088, allocations: 0 / 1.358 GB, free: 1.719 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.202e-05/0.4088, allocations: 0 / 1.358 GB, free: 1.719 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.00345/0.4123, allocations: 1.852 MB / 1.36 GB, free: 15.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.4123, allocations: 8.031 kB / 1.36 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004393/0.4167, allocations: 0.6748 MB / 1.36 GB, free: 15.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.4187, allocations: 0.9174 MB / 1.361 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.065e-05/0.4188, allocations: 102.9 kB / 1.361 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.419, allocations: 128.3 kB / 1.362 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/0.4226, allocations: 2.203 MB / 1.364 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.663e-05/0.4226, allocations: 19.88 kB / 1.364 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.4227, allocations: 59.97 kB / 1.364 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002192/0.423, allocations: 162.3 kB / 1.364 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003035/0.426, allocations: 1.867 MB / 1.366 GB, free: 9.426 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/0.4393, allocations: 11.74 MB / 1.377 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004372/0.4437, allocations: 1.876 MB / 1.379 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008565/0.4446, allocations: 0.558 MB / 1.38 GB, free: 10.45 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.4447, allocations: 28.97 kB / 1.38 GB, free: 10.42 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.4447, allocations: 43.5 kB / 1.38 GB, free: 10.37 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 2.866e-06/0.4447, allocations: 0 / 1.38 GB, free: 10.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.006497/0.4512, allocations: 3.133 MB / 1.383 GB, free: 7.223 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.4513, allocations: 64.41 kB / 1.383 GB, free: 7.148 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.4526, allocations: 0.9245 MB / 1.384 GB, free: 6.207 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/0.4526, allocations: 49.64 kB / 1.384 GB, free: 6.152 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006378/0.4533, allocations: 0.7455 MB / 1.384 GB, free: 5.398 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/0.4537, allocations: 404.6 kB / 1.385 GB, free: 5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004285/0.4541, allocations: 291.4 kB / 1.385 GB, free: 4.711 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4542, allocations: 301.1 kB / 1.385 GB, free: 4.414 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009848/0.4552, allocations: 0.6129 MB / 1.386 GB, free: 3.801 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.4567, allocations: 1.109 MB / 1.387 GB, free: 2.477 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.4593, allocations: 1.835 MB / 1.389 GB, free: 432 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.4593, allocations: 4 kB / 1.389 GB, free: 428 kB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003428/0.4627, allocations: 2.096 MB / 1.391 GB, free: 14.29 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.4627, allocations: 14.5 kB / 1.391 GB, free: 14.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.4628, allocations: 19.98 kB / 1.391 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008082/0.4636, allocations: 259.4 kB / 1.391 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.4648, allocations: 371.4 kB / 1.392 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009538/0.4743, allocations: 10.78 MB / 1.402 GB, free: 1.918 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.4757, allocations: 123.8 kB / 1.402 GB, free: 1.797 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.4758, allocations: 71.94 kB / 1.402 GB, free: 1.727 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007291/0.4766, allocations: 405.9 kB / 1.403 GB, free: 1.32 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.4768, allocations: 135.2 kB / 1.403 GB, free: 1.188 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.4798, allocations: 1.681 MB / 1.404 GB, free: 15.47 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.4798, allocations: 12 kB / 1.404 GB, free: 15.46 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4798, allocations: 0 / 1.404 GB, free: 15.46 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.4798, allocations: 11.97 kB / 1.404 GB, free: 15.45 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00537/0.4852, allocations: 3.256 MB / 1.408 GB, free: 12.05 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.4852, allocations: 11.98 kB / 1.408 GB, free: 12.04 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008448/0.4861, allocations: 219.6 kB / 1.408 GB, free: 11.83 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006948/0.4867, allocations: 246.9 kB / 1.408 GB, free: 11.56 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-05/0.4868, allocations: 27.94 kB / 1.408 GB, free: 11.54 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009581/0.4964, allocations: 10.75 MB / 1.419 GB, free: 15.86 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.4964, allocations: 4 kB / 1.419 GB, free: 15.86 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.4993, allocations: 1.8 MB / 1.42 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006249/0.4999, allocations: 246.9 kB / 1.421 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.5, allocations: 20 kB / 1.421 GB, free: 13.69 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.5007, allocations: 95.81 kB / 1.421 GB, free: 13.59 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.5009, allocations: 104.7 kB / 1.421 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/0.501, allocations: 39.92 kB / 1.421 GB, free: 13.45 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008101/0.5018, allocations: 0.6177 MB / 1.422 GB, free: 12.83 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5018, allocations: 4 kB / 1.422 GB, free: 12.82 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001336/0.5031, allocations: 392 kB / 1.422 GB, free: 12.44 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002297/0.5033, allocations: 135 kB / 1.422 GB, free: 12.3 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003568/0.5069, allocations: 2.406 MB / 1.424 GB, free: 9.793 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.5069, allocations: 4 kB / 1.424 GB, free: 9.789 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.5091, allocations: 1.587 MB / 1.426 GB, free: 8.105 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.5107, allocations: 362 kB / 1.426 GB, free: 7.762 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/0.5157, allocations: 2.897 MB / 1.429 GB, free: 4.754 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.5168, allocations: 1.331 MB / 1.43 GB, free: 3.387 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.5172, allocations: 119.3 kB / 1.431 GB, free: 3.273 MB / 1.123 GB Notification: Performance of SimCode: time 7.62e-07/0.5172, allocations: 0 / 1.431 GB, free: 3.273 MB / 1.123 GB Notification: Performance of Templates: time 0.07101/0.5882, allocations: 59.49 MB / 1.489 GB, free: 7.789 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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: 16.928129906998947]