Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.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.0009869/0.0009869, 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.001076/0.001076, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.9482/0.9482, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.296/2.296, allocations: 438.8 MB / 0.6826 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] 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.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiWatSupSet.dpChiWatSet.[0-9,]+.|chiWatSupSet.uChiWatPlaRes|chiWatSupSet.TChiWatSupSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiWatSupSet.dpChiWatSet.[0-9,]+.|chiWatSupSet.uChiWatPlaRes|chiWatSupSet.TChiWatSupSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.721e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply): time 0.00169/0.001708, allocations: 0.9419 MB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.002794, allocations: 0.9834 MB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.002872, allocations: 3.938 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.003, allocations: 27.78 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.003144, allocations: 51.64 kB / 0.8406 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.003293, allocations: 67.86 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.003529, allocations: 203.5 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.003665, allocations: 66.33 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.003803, allocations: 107.8 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.003917, allocations: 67.8 kB / 0.8411 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.003949, allocations: 16 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.184e-05/0.003971, allocations: 20 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.00403, allocations: 43.83 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.004079, allocations: 47.84 kB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.004218, allocations: 119.6 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.00422, allocations: 0 / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.674e-06/0.004221, allocations: 4 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.585e-06/0.004224, allocations: 0 / 0.8413 GB, free: 11.44 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0003973/0.004621, allocations: 360.2 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.004651, allocations: 8.625 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.004696, allocations: 24.92 kB / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.004888, allocations: 179.8 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.0049, allocations: 8.375 kB / 0.8419 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.00492, allocations: 12.38 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.005107, allocations: 170.2 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.005115, allocations: 192 / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.00513, allocations: 8.125 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.005137, allocations: 4 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.962e-05/0.005207, allocations: 43.97 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.005673, allocations: 314.6 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.437e-05/0.005757, allocations: 34.56 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.005784, allocations: 16.86 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.005804, allocations: 0 / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.005829, allocations: 46.42 kB / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.00583, allocations: 0 / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001401/0.00597, allocations: 61.67 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.005993, allocations: 51.41 kB / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.006096, allocations: 166.5 kB / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.006109, allocations: 25.7 kB / 0.8428 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.006165, allocations: 139.5 kB / 0.8429 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.006183, allocations: 31.78 kB / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.006224, allocations: 21.72 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.006299, allocations: 326.8 kB / 0.8433 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.006322, allocations: 11.98 kB / 0.8433 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.006364, allocations: 43.36 kB / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.545e-05/0.00644, allocations: 71.02 kB / 0.8434 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.006443, allocations: 4 kB / 0.8434 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001111/0.006554, allocations: 89.47 kB / 0.8435 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.006566, allocations: 8 kB / 0.8435 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.00657, allocations: 0 / 0.8435 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.006581, allocations: 4.125 kB / 0.8435 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/0.00667, allocations: 27.92 kB / 0.8435 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.006674, allocations: 4.312 kB / 0.8435 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.006723, allocations: 11.89 kB / 0.8435 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.006731, allocations: 4 kB / 0.8435 GB, free: 8.961 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * 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 6.206e-05/0.006793, allocations: 116.7 kB / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.006822, allocations: 11.92 kB / 0.8437 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.006936, allocations: 87 kB / 0.8437 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.006938, allocations: 4 kB / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.00694, allocations: 0 / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.006942, allocations: 4 kB / 0.8437 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.007202, allocations: 272.2 kB / 0.844 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.007204, allocations: 3.984 kB / 0.844 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.007259, allocations: 19.92 kB / 0.844 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.007262, allocations: 4 kB / 0.844 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.007267, allocations: 0 / 0.844 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.007269, allocations: 0 / 0.844 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.007271, allocations: 4 kB / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.00738, allocations: 181.2 kB / 0.8442 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/0.007395, allocations: 12.02 kB / 0.8442 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.007409, allocations: 0 / 0.8442 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.007482, allocations: 15.98 kB / 0.8442 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.007507, allocations: 0 / 0.8442 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.007514, allocations: 7.984 kB / 0.8442 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.007556, allocations: 43.31 kB / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007556, allocations: 0 / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000223/0.007779, allocations: 31.89 kB / 0.8443 GB, free: 8.094 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 7.566e-05/0.007855, allocations: 84.41 kB / 0.8444 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.011e-05/0.007945, allocations: 48.72 kB / 0.8444 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.007949, allocations: 4 kB / 0.8444 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.007984, allocations: 28.78 kB / 0.8445 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.008196, allocations: 27.92 kB / 0.8445 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/0.008709, allocations: 310.1 kB / 0.8448 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.011e-05/0.008759, allocations: 75.83 kB / 0.8449 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.109e-05/0.00881, allocations: 13.14 kB / 0.8449 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.954e-05/0.0089, allocations: 83.34 kB / 0.845 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.0089, allocations: 0 / 0.845 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of Templates: time 0.00348/0.01238, allocations: 1.435 MB / 0.8464 GB, free: 5.992 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.SetPoints.Validation.ChilledWaterSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_SetPoints_Validation_ChilledWaterSupply.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: 5.108857709448785]