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.001025/0.001025, allocations: 69.11 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: 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.9128/0.9128, allocations: 177.1 MB / 204.5 MB, free: 4.988 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.987/1.987, allocations: 429.5 MB / 0.6743 GB, free: 3.898 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 2.354e-06/2.354e-06, allocations: 0 / 0.8794 GB, free: 4.895 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.344e-05, allocations: 3.719 kB / 0.8794 GB, free: 4.891 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005566/0.005599, allocations: 2.958 MB / 0.8823 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002722/0.008321, allocations: 1.164 MB / 0.8834 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004099/0.008731, allocations: 25.16 kB / 0.8834 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.009043, allocations: 99 kB / 0.8835 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.009285, allocations: 110 kB / 0.8836 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005822/0.009867, allocations: 367.3 kB / 0.884 GB, free: 204 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0005181/0.01039, allocations: 0.6566 MB / 0.8846 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.01062, allocations: 150.4 kB / 0.8848 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.01098, allocations: 350.5 kB / 0.8851 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.01115, allocations: 131.5 kB / 0.8852 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.0112, allocations: 48 kB / 0.8853 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.168e-05/0.01127, allocations: 52 kB / 0.8853 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.01133, allocations: 107.5 kB / 0.8854 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.691e-05/0.01142, allocations: 135.5 kB / 0.8856 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.01175, allocations: 366.4 kB / 0.8859 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.01175, allocations: 0 / 0.8859 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01176, allocations: 0.5938 kB / 0.8859 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.01176, allocations: 0 / 0.8859 GB, free: 14.22 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0007588/0.01252, allocations: 0.8406 MB / 0.8867 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.01255, allocations: 8.031 kB / 0.8867 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.01276, allocations: 116.4 kB / 0.8868 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.01326, allocations: 490.3 kB / 0.8873 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.01328, allocations: 29.03 kB / 0.8873 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.01332, allocations: 32.38 kB / 0.8874 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.01364, allocations: 348.3 kB / 0.8877 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.01365, allocations: 192 / 0.8877 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.01367, allocations: 16.38 kB / 0.8877 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.01368, allocations: 11.94 kB / 0.8877 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.0138, allocations: 88.45 kB / 0.8878 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009712/0.01477, allocations: 1.497 MB / 0.8893 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.01502, allocations: 155.3 kB / 0.8894 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.719e-05/0.01512, allocations: 71.48 kB / 0.8895 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.01514, allocations: 7.984 kB / 0.8895 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.01516, allocations: 45.39 kB / 0.8895 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.01516, allocations: 0 / 0.8895 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0002777/0.01544, allocations: 195 kB / 0.8897 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.01546, allocations: 55.41 kB / 0.8898 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.01571, allocations: 430.4 kB / 0.8902 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.01572, allocations: 25.7 kB / 0.8902 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.01593, allocations: 311 kB / 0.8905 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.01598, allocations: 87.23 kB / 0.8906 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.01605, allocations: 59.62 kB / 0.8907 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.01618, allocations: 0.5351 MB / 0.8912 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.636e-05/0.01622, allocations: 28.53 kB / 0.8912 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.645e-05/0.01631, allocations: 127.2 kB / 0.8913 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.01645, allocations: 163.5 kB / 0.8915 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01646, allocations: 4 kB / 0.8915 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002271/0.01668, allocations: 228.9 kB / 0.8917 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.0167, allocations: 8 kB / 0.8917 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.0167, allocations: 0 / 0.8917 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.01671, allocations: 4 kB / 0.8917 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.01686, allocations: 64.16 kB / 0.8918 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01687, allocations: 4 kB / 0.8918 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.054e-05/0.01696, allocations: 31.83 kB / 0.8918 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.01697, allocations: 4 kB / 0.8918 GB, free: 7.816 MB / 0.8073 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.conHeaCoi.I.trigger_internal,conHeaFan.conFan.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.0001055/0.01708, allocations: 172.5 kB / 0.892 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.01713, allocations: 59.66 kB / 0.892 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.01719, allocations: 48.09 kB / 0.8921 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01719, allocations: 0 / 0.8921 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01719, allocations: 4 kB / 0.8921 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01719, allocations: 4 kB / 0.8921 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.01743, allocations: 252.9 kB / 0.8923 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01743, allocations: 3.984 kB / 0.8923 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.01755, allocations: 39.92 kB / 0.8924 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01756, allocations: 3.938 kB / 0.8924 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.01757, allocations: 11.98 kB / 0.8924 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.01758, allocations: 4 kB / 0.8924 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01758, allocations: 0 / 0.8924 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.01788, allocations: 364.8 kB / 0.8927 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.01796, allocations: 63.66 kB / 0.8928 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.01799, allocations: 11.94 kB / 0.8928 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/0.01807, allocations: 8 kB / 0.8928 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.01811, allocations: 19.95 kB / 0.8928 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.01811, allocations: 4 kB / 0.8928 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001415/0.01826, allocations: 275 kB / 0.8931 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01826, allocations: 0 / 0.8931 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002057/0.01846, allocations: 67.84 kB / 0.8932 GB, free: 6.379 MB / 0.8073 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 8.896e-05/0.01855, allocations: 111.2 kB / 0.8933 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.01872, allocations: 123.3 kB / 0.8934 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01872, allocations: 0 / 0.8934 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.833e-05/0.01879, allocations: 69.95 kB / 0.8935 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.01919, allocations: 138.3 kB / 0.8936 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009079/0.0201, allocations: 0.682 MB / 0.8943 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.841e-05/0.02016, allocations: 105.3 kB / 0.8944 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.02029, allocations: 55.25 kB / 0.8944 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.02045, allocations: 150.1 kB / 0.8946 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.02045, allocations: 4 kB / 0.8946 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of Templates: time 0.006641/0.02709, allocations: 4.481 MB / 0.8989 GB, free: 0.5586 MB / 0.8073 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.9275559317320585]