Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.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.00138/0.00138, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009406/0.0009406, allocations: 173 kB / 23.35 MB, free: 1.137 MB / 18.57 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 0.8883/0.8883, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 2.232/2.232, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.502e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.002409/0.002424, allocations: 1.506 MB / 0.8401 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008027/0.003226, allocations: 450.8 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.003275, allocations: 0 / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.003303, allocations: 3.938 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/0.003352, allocations: 7.938 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.003555, allocations: 19.97 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.117e-05/0.003646, allocations: 23.88 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.138e-05/0.003717, allocations: 11.97 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.003859, allocations: 27.86 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.259e-05/0.003901, allocations: 7.938 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.003917, allocations: 4 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.233e-05/0.003959, allocations: 7.984 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.003973, allocations: 4 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.003989, allocations: 3.984 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.418e-05/0.004073, allocations: 23.92 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004075, allocations: 0 / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004075, allocations: 0 / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.004078, allocations: 0 / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002817/0.00436, allocations: 248.9 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.004394, allocations: 8.625 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.004516, allocations: 16.92 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.004638, allocations: 109.7 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.004648, allocations: 4.375 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.004658, allocations: 384 / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.004758, allocations: 58.89 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.004766, allocations: 192 / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.004772, allocations: 384 / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.004779, allocations: 3.938 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.439e-05/0.004804, allocations: 11.97 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.004993, allocations: 144.3 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.019e-05/0.005043, allocations: 26.61 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.005065, allocations: 12.8 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.005076, allocations: 4.062 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.005099, allocations: 34.56 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.0051, allocations: 0 / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001111/0.005211, allocations: 37.64 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.005246, allocations: 59.33 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/0.005311, allocations: 110.7 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.005322, allocations: 25.7 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.005355, allocations: 88.12 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.005372, allocations: 3.953 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.005402, allocations: 21.7 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.005488, allocations: 310.8 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.005501, allocations: 8.062 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/0.005512, allocations: 7.984 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.843e-05/0.005541, allocations: 8.859 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005543, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.538e-05/0.005608, allocations: 37.69 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.00562, allocations: 6.188 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.005623, allocations: 0 / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/0.005881, allocations: 3.938 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.005944, allocations: 8 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.005946, allocations: 4.094 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.005967, allocations: 7.938 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.005971, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.006028, allocations: 109.8 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.006052, allocations: 4 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.00607, allocations: 7.625 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.006079, allocations: 3.938 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.00608, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.006082, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.00619, allocations: 73.88 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.006191, allocations: 4 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.006229, allocations: 4 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.006231, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.006235, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.006237, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006238, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.475e-05/0.006333, allocations: 139.4 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.006341, allocations: 0 / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.006351, allocations: 0 / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.695e-05/0.006407, allocations: 4 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.006435, allocations: 15.89 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.006438, allocations: 4 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.575e-05/0.006454, allocations: 8.859 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006454, allocations: 0 / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001974/0.006651, allocations: 4 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.121e-05/0.006733, allocations: 80.41 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.008e-05/0.006793, allocations: 12.86 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.006795, allocations: 0 / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.006812, allocations: 12.91 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.006954, allocations: 8 kB / 0.8425 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.007352, allocations: 132.5 kB / 0.8426 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.392e-05/0.007386, allocations: 51.36 kB / 0.8427 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.007413, allocations: 4 kB / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.007452, allocations: 51.36 kB / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of SimCode: time 7.81e-07/0.007453, allocations: 0 / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of Templates: time 0.002047/0.0095, allocations: 342.7 kB / 0.843 GB, free: 9.414 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_KMinusU.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.750816755928099]