Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.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.001016/0.001016, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001117/0.001117, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.989/0.989, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.081/2.081, allocations: 429.5 MB / 0.6743 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|makUpWat.watLev|makUpWat.watLevMin|makUpWat.watLevMax|makUpWat.yMakUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|makUpWat.watLev|makUpWat.watLevMin|makUpWat.watLevMax|makUpWat.yMakUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.752e-05, allocations: 4.984 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.001713/0.00174, allocations: 0.8667 MB / 0.8803 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.002826, allocations: 0.9404 MB / 0.8812 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.002943, allocations: 1.344 kB / 0.8812 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.003067, allocations: 11.88 kB / 0.8812 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-05/0.003118, allocations: 20.89 kB / 0.8812 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.003318, allocations: 39.84 kB / 0.8813 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.00343, allocations: 99.75 kB / 0.8814 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.003537, allocations: 36.58 kB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.003698, allocations: 68.97 kB / 0.8815 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.003758, allocations: 23.91 kB / 0.8815 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.003778, allocations: 8 kB / 0.8815 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.516e-05/0.003823, allocations: 8.5 kB / 0.8815 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.003844, allocations: 19.92 kB / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.003868, allocations: 24.83 kB / 0.8815 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.003998, allocations: 59.75 kB / 0.8816 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.004001, allocations: 7.375 kB / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004002, allocations: 0 / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.004007, allocations: 0 / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003931/0.0044, allocations: 428.1 kB / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.004435, allocations: 12.03 kB / 0.882 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.004546, allocations: 12.89 kB / 0.882 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.004709, allocations: 160.4 kB / 0.8822 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.004718, allocations: 4.375 kB / 0.8822 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.004729, allocations: 8.969 kB / 0.8822 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.004869, allocations: 129.2 kB / 0.8823 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.004876, allocations: 192 / 0.8823 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.004884, allocations: 4.375 kB / 0.8823 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.004889, allocations: 384 / 0.8823 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.004922, allocations: 21.45 kB / 0.8823 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.005326, allocations: 474.2 kB / 0.8828 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.076e-05/0.005386, allocations: 43.08 kB / 0.8828 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.005401, allocations: 11.67 kB / 0.8829 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.005414, allocations: 0 / 0.8829 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.005433, allocations: 37.45 kB / 0.8829 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.005434, allocations: 0 / 0.8829 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001367/0.005571, allocations: 49.64 kB / 0.8829 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.005606, allocations: 55.34 kB / 0.883 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.005717, allocations: 188.3 kB / 0.8832 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.005733, allocations: 29.69 kB / 0.8832 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/0.005809, allocations: 162.7 kB / 0.8834 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.354e-06/0.005817, allocations: 16.05 kB / 0.8834 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.005851, allocations: 23.38 kB / 0.8834 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.005973, allocations: 0.4961 MB / 0.8839 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.005986, allocations: 4 kB / 0.8839 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.006012, allocations: 38.73 kB / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.006212, allocations: 54.67 kB / 0.884 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006214, allocations: 0 / 0.884 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.85e-05/0.006292, allocations: 65.58 kB / 0.884 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.006305, allocations: 8 kB / 0.884 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.006309, allocations: 0 / 0.884 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.984e-06/0.006316, allocations: 0 / 0.884 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.006367, allocations: 15.92 kB / 0.8841 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.00637, allocations: 0 / 0.8841 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.006396, allocations: 4 kB / 0.8841 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006402, allocations: 7.938 kB / 0.8841 GB, free: 1.004 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (makUpWat.hys.y,$PRE.makUpWat.hys.y,makUpWat.greEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 7.379e-05/0.006476, allocations: 160.5 kB / 0.8842 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.006495, allocations: 12.05 kB / 0.8842 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.006515, allocations: 7.969 kB / 0.8842 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.006518, allocations: 4.109 kB / 0.8842 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.006523, allocations: 8 kB / 0.8842 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006525, allocations: 0 / 0.8842 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.933e-05/0.006625, allocations: 109.2 kB / 0.8844 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006626, allocations: 0 / 0.8844 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.26e-05/0.006638, allocations: 4 kB / 0.8844 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.006639, allocations: 0 / 0.8844 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.006643, allocations: 0 / 0.8844 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006644, allocations: 0 / 0.8844 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006645, allocations: 4 kB / 0.8844 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.966e-05/0.006745, allocations: 199.8 kB / 0.8845 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.006753, allocations: 7.953 kB / 0.8846 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.006766, allocations: 0 / 0.8846 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.006796, allocations: 0 / 0.8846 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.006829, allocations: 7.984 kB / 0.8846 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.006833, allocations: 3.984 kB / 0.8846 GB, free: 440 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.664e-05/0.006879, allocations: 143.2 kB / 0.8847 GB, free: 296 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00688, allocations: 0 / 0.8847 GB, free: 296 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001543/0.007034, allocations: 15.89 kB / 0.8847 GB, free: 280 kB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (makUpWat.hys.y) * Number of discrete states: 1 (makUpWat.hys.y) * 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 0.0001026/0.007136, allocations: 99.28 kB / 0.8848 GB, free: 168 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.763e-05/0.007214, allocations: 31.61 kB / 0.8848 GB, free: 132 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007215, allocations: 0 / 0.8848 GB, free: 132 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.506e-05/0.00723, allocations: 11.69 kB / 0.8849 GB, free: 116 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.007415, allocations: 15.92 kB / 0.8849 GB, free: 100 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.007671, allocations: 169.8 kB / 0.885 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.611e-05/0.007707, allocations: 67.34 kB / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.655e-05/0.007743, allocations: 12.61 kB / 0.8851 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.007797, allocations: 82.19 kB / 0.8852 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.007798, allocations: 0 / 0.8852 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.002547/0.01035, allocations: 0.8536 MB / 0.886 GB, free: 14.9 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Towers_Validation_WaterLevel.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.3030098169110715]