Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001375/0.001375, 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.001762/0.001762, allocations: 214.2 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.789 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.369/3.369, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.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_latest_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_latest_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.002657/0.002657, allocations: 76.11 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.336, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01442/0.3504, allocations: 10.7 MB / 1.374 GB, free: 2.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009658/0.3601, allocations: 5.653 MB / 1.38 GB, free: 13.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008388/0.3609, allocations: 71.38 kB / 1.38 GB, free: 13.08 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004434/0.3654, allocations: 1.718 MB / 1.382 GB, free: 11.36 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.3687, allocations: 1.178 MB / 1.383 GB, free: 10.17 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.3709, allocations: 0.8169 MB / 1.384 GB, free: 9.359 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00314/0.3741, allocations: 2.131 MB / 1.386 GB, free: 7.219 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.3757, allocations: 1.018 MB / 1.387 GB, free: 6.176 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.3773, allocations: 0.8796 MB / 1.387 GB, free: 5.293 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.3789, allocations: 0.8986 MB / 1.388 GB, free: 4.391 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002835/0.3792, allocations: 112 kB / 1.388 GB, free: 4.281 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.3813, allocations: 1.068 MB / 1.389 GB, free: 3.211 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006214/0.3819, allocations: 0.5413 MB / 1.39 GB, free: 2.668 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007992/0.3827, allocations: 0.6491 MB / 1.391 GB, free: 2.016 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003337/0.386, allocations: 2.459 MB / 1.393 GB, free: 15.55 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.386, allocations: 0 / 1.393 GB, free: 15.55 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.673e-06/0.386, allocations: 0 / 1.393 GB, free: 15.55 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.294e-05/0.3861, allocations: 0 / 1.393 GB, free: 15.55 MB / 1.092 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.003018/0.3891, allocations: 1.834 MB / 1.395 GB, free: 13.67 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3891, allocations: 19.95 kB / 1.395 GB, free: 13.65 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/0.3935, allocations: 0.6709 MB / 1.396 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.3955, allocations: 0.9252 MB / 1.396 GB, free: 12.03 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.612e-05/0.3955, allocations: 98.89 kB / 1.397 GB, free: 11.93 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/0.3958, allocations: 124.3 kB / 1.397 GB, free: 11.81 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003374/0.3991, allocations: 2.415 MB / 1.399 GB, free: 9.117 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.3992, allocations: 11.92 kB / 1.399 GB, free: 9.105 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.3993, allocations: 59.97 kB / 1.399 GB, free: 9.047 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002175/0.3995, allocations: 166.3 kB / 1.399 GB, free: 8.883 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/0.4026, allocations: 1.859 MB / 1.401 GB, free: 7.016 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.4156, allocations: 9.192 MB / 1.41 GB, free: 13.54 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004463/0.42, allocations: 1.88 MB / 1.412 GB, free: 11.65 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009043/0.421, allocations: 0.558 MB / 1.412 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.4211, allocations: 20.98 kB / 1.412 GB, free: 11.07 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/0.4212, allocations: 51.56 kB / 1.412 GB, free: 11.01 MB / 1.107 GB Notification: Performance of pre-optimization done (n=103): time 3.226e-06/0.4212, allocations: 0 / 1.412 GB, free: 11.01 MB / 1.107 GB Notification: Performance of matching and sorting (n=110): time 0.006356/0.4275, allocations: 3.11 MB / 1.415 GB, free: 7.891 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.4276, allocations: 72.28 kB / 1.416 GB, free: 7.809 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.4287, allocations: 0.8808 MB / 1.416 GB, free: 6.906 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/0.4288, allocations: 41.7 kB / 1.416 GB, free: 6.859 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005863/0.4294, allocations: 0.761 MB / 1.417 GB, free: 6.09 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/0.4297, allocations: 396.6 kB / 1.418 GB, free: 5.699 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004137/0.4302, allocations: 295.4 kB / 1.418 GB, free: 5.406 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4303, allocations: 301.1 kB / 1.418 GB, free: 5.109 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009766/0.4313, allocations: 0.6129 MB / 1.419 GB, free: 4.496 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.4327, allocations: 1.106 MB / 1.42 GB, free: 3.176 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.4352, allocations: 1.828 MB / 1.422 GB, free: 1.129 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.4352, allocations: 8 kB / 1.422 GB, free: 1.121 MB / 1.107 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003767/0.439, allocations: 2.093 MB / 1.424 GB, free: 15 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.439, allocations: 16.22 kB / 1.424 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.4391, allocations: 20 kB / 1.424 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008619/0.4399, allocations: 258.6 kB / 1.424 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.4412, allocations: 375.4 kB / 1.424 GB, free: 14.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009798/0.451, allocations: 10.57 MB / 1.435 GB, free: 2.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.4523, allocations: 127.8 kB / 1.435 GB, free: 2.805 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.4525, allocations: 71.98 kB / 1.435 GB, free: 2.734 MB / 1.123 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.0007772/0.4533, allocations: 405.4 kB / 1.435 GB, free: 2.328 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.4535, allocations: 131.2 kB / 1.435 GB, free: 2.199 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/0.4565, allocations: 1.675 MB / 1.437 GB, free: 500 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.4565, allocations: 12 kB / 1.437 GB, free: 488 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4565, allocations: 4 kB / 1.437 GB, free: 484 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.4565, allocations: 7.922 kB / 1.437 GB, free: 476 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005679/0.4622, allocations: 2.942 MB / 1.44 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.4622, allocations: 4 kB / 1.44 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008865/0.4631, allocations: 227.6 kB / 1.44 GB, free: 13.17 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007458/0.4639, allocations: 242.8 kB / 1.44 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.4639, allocations: 27.94 kB / 1.44 GB, free: 12.88 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009654/0.4736, allocations: 10.55 MB / 1.451 GB, free: 1.508 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.4736, allocations: 4.312 kB / 1.451 GB, free: 1.504 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.4768, allocations: 1.8 MB / 1.452 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007674/0.4776, allocations: 227.1 kB / 1.453 GB, free: 15.37 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.4777, allocations: 35.92 kB / 1.453 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007225/0.4784, allocations: 87.88 kB / 1.453 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.4787, allocations: 96.72 kB / 1.453 GB, free: 15.15 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.4787, allocations: 36 kB / 1.453 GB, free: 15.12 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008157/0.4796, allocations: 0.5725 MB / 1.453 GB, free: 14.54 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4796, allocations: 4 kB / 1.453 GB, free: 14.53 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00146/0.481, allocations: 391.9 kB / 1.454 GB, free: 14.15 MB / 1.154 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.0002503/0.4813, allocations: 142.9 kB / 1.454 GB, free: 14 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003939/0.4852, allocations: 2.414 MB / 1.456 GB, free: 11.49 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/0.4852, allocations: 4 kB / 1.456 GB, free: 11.48 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002341/0.4876, allocations: 1.567 MB / 1.458 GB, free: 9.816 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.4893, allocations: 346.6 kB / 1.458 GB, free: 9.484 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/0.4945, allocations: 2.805 MB / 1.461 GB, free: 6.574 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008742/0.4953, allocations: 0.7371 MB / 1.462 GB, free: 5.801 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009618/0.4963, allocations: 351 kB / 1.462 GB, free: 5.453 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.4966, allocations: 91.42 kB / 1.462 GB, free: 5.363 MB / 1.154 GB Notification: Performance of SimCode: time 1.062e-06/0.4966, allocations: 8 kB / 1.462 GB, free: 5.355 MB / 1.154 GB Notification: Performance of Templates: time 0.0349/0.5315, allocations: 19.02 MB / 1.481 GB, free: 2.672 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.779244028031826]