Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.001074/0.001074, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001108/0.001108, allocations: 165 kB / 23.82 MB, free: 0.7461 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.958/0.958, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.895/1.895, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.391e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001805/0.001839, allocations: 0.8857 MB / 0.788 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.003151, allocations: 1.212 MB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.003218, allocations: 0 / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.003258, allocations: 11.86 kB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.517e-05/0.003343, allocations: 19.8 kB / 0.7892 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.003783, allocations: 141.3 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.003959, allocations: 159.6 kB / 0.7895 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.00409, allocations: 29.77 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.004212, allocations: 90.17 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.602e-05/0.004298, allocations: 43.86 kB / 0.7897 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.004325, allocations: 16 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.892e-05/0.004394, allocations: 27.98 kB / 0.7897 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.004426, allocations: 27.84 kB / 0.7897 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.004484, allocations: 43.91 kB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.004667, allocations: 125.5 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004669, allocations: 0 / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00467, allocations: 0 / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.004676, allocations: 0 / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005147/0.00519, allocations: 471.4 kB / 0.7904 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.00523, allocations: 12.03 kB / 0.7904 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.005292, allocations: 24.86 kB / 0.7904 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.005581, allocations: 157.5 kB / 0.7905 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.005603, allocations: 12.38 kB / 0.7906 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.005626, allocations: 17.52 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.005778, allocations: 90.81 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.005787, allocations: 192 / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.0058, allocations: 9.75 kB / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.005808, allocations: 3.938 kB / 0.7907 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.582e-05/0.005864, allocations: 21.88 kB / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.006287, allocations: 369.2 kB / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.452e-05/0.006381, allocations: 47.05 kB / 0.7911 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.006419, allocations: 24.89 kB / 0.7911 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.00644, allocations: 4 kB / 0.7911 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.006547, allocations: 78.92 kB / 0.7912 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.006548, allocations: 0 / 0.7912 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002042/0.006752, allocations: 93.78 kB / 0.7913 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.006787, allocations: 55.41 kB / 0.7913 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.006889, allocations: 193.7 kB / 0.7915 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.006909, allocations: 32.3 kB / 0.7916 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.006974, allocations: 150.8 kB / 0.7917 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.00699, allocations: 23.8 kB / 0.7917 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.007047, allocations: 47.34 kB / 0.7918 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.007161, allocations: 0.4923 MB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.007239, allocations: 61.62 kB / 0.7923 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.293e-05/0.007322, allocations: 104.4 kB / 0.7924 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.007423, allocations: 115.3 kB / 0.7925 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.007425, allocations: 0 / 0.7925 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002105/0.007636, allocations: 204.9 kB / 0.7927 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.007667, allocations: 38.31 kB / 0.7927 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.007672, allocations: 0 / 0.7927 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.007687, allocations: 4.844 kB / 0.7927 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.098e-05/0.007768, allocations: 8 kB / 0.7928 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.007775, allocations: 4.844 kB / 0.7928 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-05/0.007866, allocations: 37.14 kB / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.007882, allocations: 8 kB / 0.7928 GB, free: 6.34 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 8.221e-05/0.007964, allocations: 161 kB / 0.793 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.00798, allocations: 20.72 kB / 0.793 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.008011, allocations: 8.438 kB / 0.793 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008013, allocations: 1.125 kB / 0.793 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.008017, allocations: 0 / 0.793 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.008023, allocations: 7.938 kB / 0.793 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.643e-05/0.008119, allocations: 141.9 kB / 0.7931 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.008121, allocations: 4 kB / 0.7931 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.008158, allocations: 11.98 kB / 0.7931 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.00816, allocations: 1.438 kB / 0.7931 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.008166, allocations: 0 / 0.7931 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008168, allocations: 0 / 0.7931 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008169, allocations: 0 / 0.7931 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.008299, allocations: 131.2 kB / 0.7933 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.008313, allocations: 11.89 kB / 0.7933 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.008325, allocations: 0 / 0.7933 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.008345, allocations: 4 kB / 0.7933 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.008384, allocations: 7.984 kB / 0.7933 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.008391, allocations: 4 kB / 0.7933 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.008441, allocations: 141.8 kB / 0.7934 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008441, allocations: 0 / 0.7934 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001617/0.008602, allocations: 36.33 kB / 0.7935 GB, free: 5.602 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001334/0.008736, allocations: 108.4 kB / 0.7936 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.008926, allocations: 166.3 kB / 0.7937 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.008927, allocations: 0 / 0.7937 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/0.008969, allocations: 31.67 kB / 0.7938 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.009163, allocations: 21.33 kB / 0.7938 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.009525, allocations: 205.1 kB / 0.794 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.736e-05/0.009562, allocations: 59.34 kB / 0.794 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.372e-05/0.009596, allocations: 12.62 kB / 0.794 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.009622, allocations: 12.5 kB / 0.7941 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.009622, allocations: 0 / 0.7941 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of Templates: time 0.003593/0.01322, allocations: 1.651 MB / 0.7957 GB, free: 3.352 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.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.250693102832884]