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.0009693/0.0009693, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009218/0.0009218, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.9022/0.9022, allocations: 177.1 MB / 203.8 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.954/1.954, allocations: 429.5 MB / 0.6736 GB, free: 3.965 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.673e-06/1.673e-06, allocations: 0 / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.71e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003145/0.003162, allocations: 3.026 MB / 0.8811 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.004515, allocations: 1.164 MB / 0.8823 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.004708, allocations: 33.09 kB / 0.8823 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.004906, allocations: 95.06 kB / 0.8824 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.005056, allocations: 112.3 kB / 0.8825 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.005524, allocations: 359.4 kB / 0.8828 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.005951, allocations: 0.6518 MB / 0.8835 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.006168, allocations: 150.4 kB / 0.8836 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.006467, allocations: 335 kB / 0.8839 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.00661, allocations: 147.5 kB / 0.8841 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.108e-05/0.006662, allocations: 61.86 kB / 0.8841 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.22e-05/0.006724, allocations: 56 kB / 0.8842 GB, free: 456 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.006775, allocations: 107.5 kB / 0.8843 GB, free: 348 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.006862, allocations: 147.5 kB / 0.8844 GB, free: 200 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.007186, allocations: 378.5 kB / 0.8848 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.007188, allocations: 1.594 kB / 0.8848 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.71e-07/0.007188, allocations: 0 / 0.8848 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.007193, allocations: 0 / 0.8848 GB, free: 15.82 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.0007314/0.007925, allocations: 0.848 MB / 0.8856 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.007957, allocations: 14.09 kB / 0.8856 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.008154, allocations: 104.5 kB / 0.8857 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.008658, allocations: 0.5057 MB / 0.8862 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.008682, allocations: 29.03 kB / 0.8863 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.00872, allocations: 32.31 kB / 0.8863 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.009068, allocations: 360.5 kB / 0.8866 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.009077, allocations: 192 / 0.8866 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.009098, allocations: 12.38 kB / 0.8867 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.009108, allocations: 11.94 kB / 0.8867 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.0093, allocations: 119.8 kB / 0.8868 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.01056, allocations: 1.555 MB / 0.8883 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.01085, allocations: 163.4 kB / 0.8885 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.231e-05/0.01094, allocations: 67.66 kB / 0.8885 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.01096, allocations: 4 kB / 0.8885 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.01098, allocations: 41.39 kB / 0.8886 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.242e-06/0.01098, allocations: 3.938 kB / 0.8886 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0003364/0.01132, allocations: 229 kB / 0.8888 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.01135, allocations: 55.41 kB / 0.8888 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.01163, allocations: 438.6 kB / 0.8893 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.01164, allocations: 25.7 kB / 0.8893 GB, free: 11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.01179, allocations: 311.2 kB / 0.8896 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.01183, allocations: 83.27 kB / 0.8897 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.01189, allocations: 63.59 kB / 0.8897 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.01202, allocations: 0.5196 MB / 0.8902 GB, free: 10 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/0.01209, allocations: 40.53 kB / 0.8903 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.01219, allocations: 134.2 kB / 0.8904 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.01237, allocations: 178.7 kB / 0.8906 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01237, allocations: 0 / 0.8906 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002553/0.01263, allocations: 245 kB / 0.8908 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.01264, allocations: 10.34 kB / 0.8908 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.01265, allocations: 0 / 0.8908 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01266, allocations: 4 kB / 0.8908 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.0128, allocations: 59.91 kB / 0.8909 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.0128, allocations: 4 kB / 0.8909 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.01288, allocations: 32.08 kB / 0.8909 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.01289, allocations: 8 kB / 0.8909 GB, free: 9.223 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.0001002/0.01299, allocations: 180.4 kB / 0.8911 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.01304, allocations: 55.67 kB / 0.8911 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.01309, allocations: 48.09 kB / 0.8912 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.0131, allocations: 4 kB / 0.8912 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.0131, allocations: 0 / 0.8912 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.0131, allocations: 0 / 0.8912 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.01335, allocations: 308.3 kB / 0.8915 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01336, allocations: 3.984 kB / 0.8915 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.01347, allocations: 47.92 kB / 0.8915 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.01348, allocations: 0 / 0.8915 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.01349, allocations: 7.984 kB / 0.8915 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01349, allocations: 4 kB / 0.8915 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01349, allocations: 0 / 0.8915 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.01382, allocations: 389.3 kB / 0.8919 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.01389, allocations: 71.58 kB / 0.892 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.01392, allocations: 7.938 kB / 0.892 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.014, allocations: 12.03 kB / 0.892 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.01405, allocations: 15.97 kB / 0.892 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.01406, allocations: 7.984 kB / 0.892 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001819/0.01424, allocations: 291 kB / 0.8923 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01424, allocations: 0 / 0.8923 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000198/0.01444, allocations: 67.83 kB / 0.8924 GB, free: 7.668 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.126e-05/0.01451, allocations: 99.25 kB / 0.8925 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.01472, allocations: 151.6 kB / 0.8926 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01472, allocations: 0 / 0.8926 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.212e-05/0.0148, allocations: 76.19 kB / 0.8927 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.01518, allocations: 124.4 kB / 0.8928 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009578/0.01614, allocations: 0.6846 MB / 0.8935 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.023e-05/0.0162, allocations: 109.2 kB / 0.8936 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.01632, allocations: 63.23 kB / 0.8936 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.01638, allocations: 36.42 kB / 0.8937 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.01638, allocations: 0 / 0.8937 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of Templates: time 0.005912/0.02229, allocations: 4.071 MB / 0.8976 GB, free: 2.344 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.048641514964402]