Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.001479/0.001479, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001693/0.001693, allocations: 173 kB / 23.02 MB, free: 1.547 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.8792/0.8792, allocations: 177.1 MB / 203.4 MB, free: 5.637 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 1.917/1.917, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 178] 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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.434e-05/3.612e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003938/0.003974, allocations: 3.053 MB / 0.8811 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.005323, allocations: 1.168 MB / 0.8823 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.005496, allocations: 29.38 kB / 0.8823 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.005709, allocations: 87.12 kB / 0.8824 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.005872, allocations: 129 kB / 0.8825 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.006359, allocations: 352.5 kB / 0.8829 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.006777, allocations: 0.6479 MB / 0.8835 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.006989, allocations: 147.6 kB / 0.8836 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.007306, allocations: 351 kB / 0.884 GB, free: 392 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.007437, allocations: 136.4 kB / 0.8841 GB, free: 256 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.007483, allocations: 49.66 kB / 0.8841 GB, free: 208 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.619e-05/0.007549, allocations: 51.98 kB / 0.8842 GB, free: 156 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.007602, allocations: 103.5 kB / 0.8843 GB, free: 52 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.971e-05/0.007702, allocations: 135.6 kB / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.008024, allocations: 366.3 kB / 0.8848 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.008028, allocations: 0.5 kB / 0.8848 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.203e-06/0.008029, allocations: 1.844 kB / 0.8848 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.008035, allocations: 0 / 0.8848 GB, free: 15.56 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0007462/0.008781, allocations: 0.8314 MB / 0.8856 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.008815, allocations: 16.02 kB / 0.8856 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.009017, allocations: 105.6 kB / 0.8857 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.009531, allocations: 0.4946 MB / 0.8862 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.009551, allocations: 25.03 kB / 0.8862 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.009589, allocations: 28.38 kB / 0.8862 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.009973, allocations: 362.4 kB / 0.8866 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.009982, allocations: 192 / 0.8866 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.01, allocations: 12.38 kB / 0.8866 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.01002, allocations: 11.94 kB / 0.8866 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.01021, allocations: 120.5 kB / 0.8867 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009852/0.01119, allocations: 1.557 MB / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.01149, allocations: 163.4 kB / 0.8884 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.01163, allocations: 80.33 kB / 0.8885 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.01165, allocations: 7.984 kB / 0.8885 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.01167, allocations: 41.39 kB / 0.8885 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.472e-06/0.01167, allocations: 0 / 0.8885 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.000324/0.01199, allocations: 218.9 kB / 0.8887 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.01201, allocations: 55.41 kB / 0.8888 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.01231, allocations: 450.5 kB / 0.8892 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.01233, allocations: 29.7 kB / 0.8892 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.01247, allocations: 299.2 kB / 0.8895 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.01252, allocations: 87.27 kB / 0.8896 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.01258, allocations: 67.58 kB / 0.8897 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.01271, allocations: 0.5196 MB / 0.8902 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.961e-05/0.01278, allocations: 40.47 kB / 0.8902 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.01289, allocations: 130.3 kB / 0.8903 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.01307, allocations: 188.9 kB / 0.8905 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01307, allocations: 0 / 0.8905 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002639/0.01333, allocations: 237.1 kB / 0.8907 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.01335, allocations: 8 kB / 0.8908 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.01335, allocations: 0 / 0.8908 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.01336, allocations: 4 kB / 0.8908 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.01351, allocations: 63.89 kB / 0.8908 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01352, allocations: 7.938 kB / 0.8908 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.0136, allocations: 24.09 kB / 0.8908 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.01361, allocations: 23.98 kB / 0.8909 GB, free: 8.961 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001029/0.01371, allocations: 176.4 kB / 0.891 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.01376, allocations: 47.72 kB / 0.8911 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/0.01381, allocations: 48.11 kB / 0.8911 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01381, allocations: 4 kB / 0.8911 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01382, allocations: 3.984 kB / 0.8911 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01382, allocations: 0 / 0.8911 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.01407, allocations: 308.3 kB / 0.8914 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01407, allocations: 0 / 0.8914 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.0142, allocations: 51.91 kB / 0.8915 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.0142, allocations: 0 / 0.8915 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.01422, allocations: 4 kB / 0.8915 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.01422, allocations: 4 kB / 0.8915 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01422, allocations: 0 / 0.8915 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.01459, allocations: 381.8 kB / 0.8919 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.01469, allocations: 67.62 kB / 0.8919 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.01474, allocations: 4 kB / 0.8919 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.01484, allocations: 7.984 kB / 0.8919 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.01488, allocations: 24 kB / 0.892 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.01489, allocations: 4 kB / 0.892 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001804/0.01507, allocations: 291 kB / 0.8922 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01507, allocations: 0 / 0.8922 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001976/0.01527, allocations: 71.78 kB / 0.8923 GB, free: 7.43 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * 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 (23): * Single equations (assignments): 23 * 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.427e-05/0.01534, allocations: 107.2 kB / 0.8924 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.01555, allocations: 143.8 kB / 0.8925 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01555, allocations: 11.94 kB / 0.8926 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.791e-05/0.01563, allocations: 64.2 kB / 0.8926 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.01602, allocations: 139.9 kB / 0.8927 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009504/0.01697, allocations: 0.6938 MB / 0.8934 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.639e-05/0.01703, allocations: 101.3 kB / 0.8935 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.01714, allocations: 55.23 kB / 0.8936 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.01721, allocations: 36.48 kB / 0.8936 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.01721, allocations: 0 / 0.8936 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of Templates: time 0.005982/0.02319, allocations: 4.296 MB / 0.8978 GB, free: 1.879 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.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.869310548063368]