Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.00121/0.00121, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001196/0.001196, allocations: 173 kB / 24.06 MB, free: 452 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.9789/0.9789, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.121/2.121, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.711e-05, allocations: 10.25 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003026/0.003053, allocations: 2.23 MB / 0.8816 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.004884, allocations: 1.381 MB / 0.8829 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.005088, allocations: 10.72 kB / 0.8829 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.005514, allocations: 171.2 kB / 0.8831 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004548/0.005969, allocations: 234.8 kB / 0.8833 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.006365, allocations: 184.2 kB / 0.8835 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004506/0.006815, allocations: 438.8 kB / 0.8839 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.006978, allocations: 63.2 kB / 0.884 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000777/0.007755, allocations: 321.4 kB / 0.8843 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.007951, allocations: 163.5 kB / 0.8844 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.007984, allocations: 24.5 kB / 0.8844 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.008126, allocations: 69.27 kB / 0.8845 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-05/0.008221, allocations: 119.6 kB / 0.8846 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.113e-05/0.008302, allocations: 95.62 kB / 0.8847 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.00872, allocations: 318.8 kB / 0.885 GB, free: 252 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.008724, allocations: 1.594 kB / 0.885 GB, free: 252 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.323e-06/0.008725, allocations: 0 / 0.885 GB, free: 252 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.008731, allocations: 0 / 0.885 GB, free: 252 kB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008552/0.009587, allocations: 0.7634 MB / 0.8858 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.009622, allocations: 11.97 kB / 0.8858 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.208e-05/0.009714, allocations: 60.64 kB / 0.8858 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.01005, allocations: 337.3 kB / 0.8862 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.01007, allocations: 12.38 kB / 0.8862 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.01009, allocations: 12.38 kB / 0.8862 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.01036, allocations: 189 kB / 0.8864 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.01037, allocations: 7.922 kB / 0.8864 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.01039, allocations: 4 kB / 0.8864 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.01039, allocations: 4 kB / 0.8864 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.01048, allocations: 39.91 kB / 0.8864 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.01119, allocations: 0.728 MB / 0.8871 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.01134, allocations: 102.4 kB / 0.8872 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.01138, allocations: 39.36 kB / 0.8873 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.0114, allocations: 4 kB / 0.8873 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.01155, allocations: 112.4 kB / 0.8874 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.455e-06/0.01155, allocations: 0 / 0.8874 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002848/0.01184, allocations: 177.2 kB / 0.8875 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.01189, allocations: 102.8 kB / 0.8876 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.01222, allocations: 482.3 kB / 0.8881 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.01225, allocations: 33.81 kB / 0.8881 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.01238, allocations: 275.1 kB / 0.8884 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.01241, allocations: 39.72 kB / 0.8884 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.0125, allocations: 87.25 kB / 0.8885 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.01265, allocations: 0.5351 MB / 0.889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.536e-05/0.0127, allocations: 27.97 kB / 0.8891 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.972e-05/0.0128, allocations: 188.3 kB / 0.8892 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.01291, allocations: 128.9 kB / 0.8894 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01292, allocations: 0 / 0.8894 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002377/0.01315, allocations: 228 kB / 0.8896 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.01318, allocations: 7.938 kB / 0.8896 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01318, allocations: 4 kB / 0.8896 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.01319, allocations: 0 / 0.8896 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.01331, allocations: 47.91 kB / 0.8896 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01332, allocations: 4 kB / 0.8896 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.01342, allocations: 27.88 kB / 0.8897 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.01344, allocations: 12 kB / 0.8897 GB, free: 11.14 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,tanSta.gre.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0001099/0.01355, allocations: 190.6 kB / 0.8899 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.01359, allocations: 39.77 kB / 0.8899 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.0138, allocations: 168.9 kB / 0.8901 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.0138, allocations: 0 / 0.8901 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.0138, allocations: 0 / 0.8901 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.01381, allocations: 7.984 kB / 0.8901 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.01399, allocations: 201.1 kB / 0.8903 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01399, allocations: 0 / 0.8903 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.01402, allocations: 11.98 kB / 0.8903 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01403, allocations: 4 kB / 0.8903 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.01403, allocations: 4 kB / 0.8903 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01404, allocations: 4 kB / 0.8903 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.01404, allocations: 7.875 kB / 0.8903 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.01423, allocations: 205.5 kB / 0.8905 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.01427, allocations: 36.2 kB / 0.8905 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.0143, allocations: 7.984 kB / 0.8905 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.486e-05/0.01435, allocations: 12 kB / 0.8905 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.01441, allocations: 27.89 kB / 0.8906 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.01442, allocations: 8 kB / 0.8906 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001684/0.01458, allocations: 291 kB / 0.8909 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.41e-07/0.01459, allocations: 3.938 kB / 0.8909 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000235/0.01482, allocations: 71.89 kB / 0.8909 GB, free: 9.797 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009191/0.01574, allocations: 406.8 kB / 0.8913 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.01592, allocations: 112.1 kB / 0.8914 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01592, allocations: 0 / 0.8914 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.449e-05/0.01598, allocations: 55.47 kB / 0.8915 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.0163, allocations: 98 kB / 0.8916 GB, free: 9.277 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.01713, allocations: 0.549 MB / 0.8921 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.679e-05/0.01719, allocations: 108.6 kB / 0.8922 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000103/0.0173, allocations: 46.94 kB / 0.8923 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.01745, allocations: 146.1 kB / 0.8924 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of SimCode: time 1.483e-06/0.01745, allocations: 0 / 0.8924 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of Templates: time 0.008335/0.02579, allocations: 5.595 MB / 0.8979 GB, free: 2.855 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.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.7393874963745475]