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.001712/0.001712, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002054/0.002054, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.308/3.308, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 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.002362/0.002362, allocations: 68.77 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4085, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01611/0.4246, allocations: 10.7 MB / 1.375 GB, free: 2.805 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.4362, allocations: 5.65 MB / 1.381 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.4377, allocations: 71.31 kB / 1.381 GB, free: 13.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005223/0.4429, allocations: 1.728 MB / 1.382 GB, free: 11.34 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003925/0.4468, allocations: 1.182 MB / 1.383 GB, free: 10.15 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.4494, allocations: 0.8101 MB / 1.384 GB, free: 9.34 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003444/0.4529, allocations: 2.124 MB / 1.386 GB, free: 7.207 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.4547, allocations: 1.018 MB / 1.387 GB, free: 6.164 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.4563, allocations: 0.8912 MB / 1.388 GB, free: 5.27 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.4576, allocations: 0.8986 MB / 1.389 GB, free: 4.367 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.4578, allocations: 116 kB / 1.389 GB, free: 4.254 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.46, allocations: 1.064 MB / 1.39 GB, free: 3.188 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006077/0.4607, allocations: 0.549 MB / 1.391 GB, free: 2.637 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000779/0.4614, allocations: 0.6453 MB / 1.391 GB, free: 1.988 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003426/0.4649, allocations: 2.451 MB / 1.394 GB, free: 15.53 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4649, allocations: 0 / 1.394 GB, free: 15.53 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4649, allocations: 0 / 1.394 GB, free: 15.53 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.4649, allocations: 0 / 1.394 GB, free: 15.53 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.003105/0.468, allocations: 1.846 MB / 1.396 GB, free: 13.64 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.468, allocations: 12.02 kB / 1.396 GB, free: 13.63 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004306/0.4723, allocations: 0.6708 MB / 1.396 GB, free: 12.96 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.4743, allocations: 0.9175 MB / 1.397 GB, free: 12.01 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.4744, allocations: 98.89 kB / 1.397 GB, free: 11.91 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/0.4747, allocations: 136.3 kB / 1.397 GB, free: 11.78 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003379/0.478, allocations: 2.408 MB / 1.4 GB, free: 9.098 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.4781, allocations: 7.938 kB / 1.4 GB, free: 9.09 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.4782, allocations: 67.95 kB / 1.4 GB, free: 9.023 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002317/0.4785, allocations: 162.3 kB / 1.4 GB, free: 8.863 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.4814, allocations: 1.855 MB / 1.402 GB, free: 7 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/0.4928, allocations: 9.203 MB / 1.411 GB, free: 13.51 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/0.4971, allocations: 1.866 MB / 1.413 GB, free: 11.64 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008517/0.4979, allocations: 0.5581 MB / 1.413 GB, free: 11.08 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.4981, allocations: 24.98 kB / 1.413 GB, free: 11.05 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.4981, allocations: 47.5 kB / 1.413 GB, free: 11 MB / 1.107 GB Notification: Performance of pre-optimization done (n=103): time 3.297e-06/0.4981, allocations: 0 / 1.413 GB, free: 11 MB / 1.107 GB Notification: Performance of matching and sorting (n=110): time 0.006104/0.5042, allocations: 3.118 MB / 1.416 GB, free: 7.867 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.5043, allocations: 68.34 kB / 1.416 GB, free: 7.789 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.5054, allocations: 0.8768 MB / 1.417 GB, free: 6.891 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/0.5054, allocations: 45.64 kB / 1.417 GB, free: 6.84 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005724/0.506, allocations: 0.7572 MB / 1.418 GB, free: 6.074 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003653/0.5064, allocations: 400.6 kB / 1.418 GB, free: 5.68 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004179/0.5068, allocations: 287.4 kB / 1.419 GB, free: 5.395 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5069, allocations: 305.1 kB / 1.419 GB, free: 5.094 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009698/0.5079, allocations: 0.6168 MB / 1.42 GB, free: 4.477 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.5093, allocations: 1.102 MB / 1.421 GB, free: 3.16 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/0.5118, allocations: 1.828 MB / 1.422 GB, free: 1.113 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/0.5118, allocations: 11.94 kB / 1.422 GB, free: 1.102 MB / 1.107 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00354/0.5154, allocations: 2.1 MB / 1.424 GB, free: 14.97 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.5154, allocations: 13 kB / 1.424 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.5154, allocations: 16 kB / 1.424 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008291/0.5162, allocations: 262.6 kB / 1.425 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.5175, allocations: 375.4 kB / 1.425 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00952/0.5271, allocations: 10.57 MB / 1.435 GB, free: 2.898 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.5283, allocations: 123.8 kB / 1.436 GB, free: 2.777 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.5284, allocations: 71.98 kB / 1.436 GB, free: 2.707 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.0006985/0.5291, allocations: 410 kB / 1.436 GB, free: 2.297 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.5293, allocations: 127.2 kB / 1.436 GB, free: 2.172 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/0.5322, allocations: 1.671 MB / 1.438 GB, free: 476 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.5322, allocations: 12 kB / 1.438 GB, free: 464 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5322, allocations: 4 kB / 1.438 GB, free: 460 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.5322, allocations: 3.984 kB / 1.438 GB, free: 456 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005046/0.5373, allocations: 2.943 MB / 1.441 GB, free: 13.38 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.5373, allocations: 8.031 kB / 1.441 GB, free: 13.37 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008771/0.5382, allocations: 223.6 kB / 1.441 GB, free: 13.15 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007126/0.5389, allocations: 246.5 kB / 1.441 GB, free: 12.88 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/0.5389, allocations: 28 kB / 1.441 GB, free: 12.86 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009237/0.5482, allocations: 10.55 MB / 1.451 GB, free: 1.484 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.5482, allocations: 4 kB / 1.451 GB, free: 1.48 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.5512, allocations: 1.8 MB / 1.453 GB, free: 15.57 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006565/0.5518, allocations: 223.1 kB / 1.453 GB, free: 15.35 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.552, allocations: 31.92 kB / 1.453 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007157/0.5527, allocations: 95.81 kB / 1.454 GB, free: 15.23 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.5529, allocations: 100.7 kB / 1.454 GB, free: 15.13 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.306e-05/0.5529, allocations: 28 kB / 1.454 GB, free: 15.1 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007679/0.5537, allocations: 0.5725 MB / 1.454 GB, free: 14.52 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5537, allocations: 4 kB / 1.454 GB, free: 14.52 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001421/0.5551, allocations: 395.9 kB / 1.455 GB, free: 14.13 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.0002341/0.5553, allocations: 143 kB / 1.455 GB, free: 13.98 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003639/0.559, allocations: 2.407 MB / 1.457 GB, free: 11.47 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.559, allocations: 3.938 kB / 1.457 GB, free: 11.47 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.5612, allocations: 1.575 MB / 1.459 GB, free: 9.793 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.5627, allocations: 351.2 kB / 1.459 GB, free: 9.461 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.5676, allocations: 2.902 MB / 1.462 GB, free: 6.453 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008709/0.5685, allocations: 0.7371 MB / 1.462 GB, free: 5.68 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/0.5688, allocations: 111.4 kB / 1.463 GB, free: 5.57 MB / 1.154 GB Notification: Performance of SimCode: time 8.32e-07/0.5688, allocations: 0 / 1.463 GB, free: 5.57 MB / 1.154 GB Notification: Performance of Templates: time 0.0685/0.6373, allocations: 59.73 MB / 1.521 GB, free: 9.832 MB / 1.217 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/jenkins1/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: 16.95199230220169]