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.001369/0.001369, 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.001461/0.001461, allocations: 169 kB / 23.02 MB, free: 1.551 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.8954/0.8954, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.022/2.022, allocations: 429.5 MB / 0.6732 GB, free: 4 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.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.413e-06/1.413e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.548e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003305/0.00333, allocations: 3.054 MB / 0.8811 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.004941, allocations: 1.168 MB / 0.8823 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.005181, allocations: 27.75 kB / 0.8823 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.005408, allocations: 91.12 kB / 0.8824 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.005594, allocations: 115.5 kB / 0.8825 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.006127, allocations: 355.4 kB / 0.8828 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004713/0.006598, allocations: 0.6479 MB / 0.8835 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.006834, allocations: 154.4 kB / 0.8836 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.007161, allocations: 335.7 kB / 0.8839 GB, free: 396 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.007314, allocations: 152.9 kB / 0.8841 GB, free: 244 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.15e-05/0.007365, allocations: 52 kB / 0.8841 GB, free: 192 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.007436, allocations: 59.98 kB / 0.8842 GB, free: 132 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.00749, allocations: 115.5 kB / 0.8843 GB, free: 16 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.922e-05/0.007589, allocations: 139.5 kB / 0.8844 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.007951, allocations: 378.5 kB / 0.8848 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.007955, allocations: 0 / 0.8848 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.01e-07/0.007956, allocations: 0 / 0.8848 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.007962, allocations: 0 / 0.8848 GB, free: 15.51 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.0008386/0.0088, allocations: 0.8573 MB / 0.8856 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.008838, allocations: 8.031 kB / 0.8856 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.009047, allocations: 108.5 kB / 0.8857 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.009574, allocations: 0.5022 MB / 0.8862 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.009594, allocations: 25.03 kB / 0.8863 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.009635, allocations: 32.31 kB / 0.8863 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.01001, allocations: 364.4 kB / 0.8866 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.01002, allocations: 192 / 0.8866 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.01004, allocations: 16.38 kB / 0.8867 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.01005, allocations: 11.94 kB / 0.8867 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.01024, allocations: 111.7 kB / 0.8868 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.01128, allocations: 1.559 MB / 0.8883 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.0116, allocations: 167.4 kB / 0.8885 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.0117, allocations: 75.77 kB / 0.8885 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.01173, allocations: 4 kB / 0.8885 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.494e-05/0.01183, allocations: 41.33 kB / 0.8886 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.01183, allocations: 4 kB / 0.8886 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0003659/0.01219, allocations: 223.1 kB / 0.8888 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.01222, allocations: 51.41 kB / 0.8888 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.01252, allocations: 446.6 kB / 0.8893 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.01254, allocations: 29.7 kB / 0.8893 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.01269, allocations: 303.2 kB / 0.8896 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.01273, allocations: 83.28 kB / 0.8897 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.0128, allocations: 59.58 kB / 0.8897 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.01293, allocations: 0.5235 MB / 0.8902 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.013, allocations: 36.53 kB / 0.8903 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.0131, allocations: 134.2 kB / 0.8904 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.01329, allocations: 184.9 kB / 0.8906 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01329, allocations: 0 / 0.8906 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002746/0.01357, allocations: 241.2 kB / 0.8908 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.01359, allocations: 4 kB / 0.8908 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.0136, allocations: 4 kB / 0.8908 GB, free: 9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.01362, allocations: 4 kB / 0.8908 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.01377, allocations: 63.89 kB / 0.8909 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.01377, allocations: 4 kB / 0.8909 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.01385, allocations: 23.84 kB / 0.8909 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.01387, allocations: 11.98 kB / 0.8909 GB, free: 8.895 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.0001221/0.01399, allocations: 176.5 kB / 0.8911 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.01404, allocations: 63.67 kB / 0.8911 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.0141, allocations: 48.05 kB / 0.8912 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.0141, allocations: 3.938 kB / 0.8912 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01411, allocations: 3.984 kB / 0.8912 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01411, allocations: 4 kB / 0.8912 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.01437, allocations: 308.3 kB / 0.8915 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01437, allocations: 4 kB / 0.8915 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.0145, allocations: 39.97 kB / 0.8915 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.0145, allocations: 0 / 0.8915 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.01451, allocations: 8 kB / 0.8915 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.01452, allocations: 4 kB / 0.8915 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01452, allocations: 0 / 0.8915 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.01489, allocations: 383.3 kB / 0.8919 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.01496, allocations: 67.58 kB / 0.892 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.01499, allocations: 8 kB / 0.892 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.01507, allocations: 11.98 kB / 0.892 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.01511, allocations: 11.97 kB / 0.892 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.01513, allocations: 8 kB / 0.892 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001751/0.0153, allocations: 291.1 kB / 0.8923 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0153, allocations: 0 / 0.8923 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000208/0.01551, allocations: 71.83 kB / 0.8924 GB, free: 7.344 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 9.22e-05/0.0156, allocations: 107.2 kB / 0.8925 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.01582, allocations: 145.4 kB / 0.8926 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01582, allocations: 0 / 0.8926 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.669e-05/0.01591, allocations: 72.08 kB / 0.8927 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.01631, allocations: 143.2 kB / 0.8928 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.01736, allocations: 0.686 MB / 0.8935 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.151e-05/0.01742, allocations: 105.2 kB / 0.8936 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.01754, allocations: 51.23 kB / 0.8936 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.01761, allocations: 40.48 kB / 0.8937 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of SimCode: time 1.212e-06/0.01761, allocations: 0 / 0.8937 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of Templates: time 0.006619/0.02423, allocations: 4.074 MB / 0.8976 GB, free: 2.02 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: 5.1568012069910765]