Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_latest_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=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009484/0.0009486, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009566/0.0009568, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.705/2.705, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 12 kB / 0.8708 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8355/0.8359, allocations: 153.7 MB / 1.021 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001158/0.8371, allocations: 0.5753 MB / 1.021 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.8385, allocations: 1.124 MB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.8386, allocations: 4 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.8386, allocations: 7.922 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.709e-05/0.8387, allocations: 15.98 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.8392, allocations: 122.7 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.8393, allocations: 75.91 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.8395, allocations: 49.47 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.8396, allocations: 43.89 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.8397, allocations: 43.77 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.8397, allocations: 8 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.8398, allocations: 19.98 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.8398, allocations: 19.91 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.8399, allocations: 37.7 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.8401, allocations: 117.7 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.8401, allocations: 0 / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8401, allocations: 0 / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.8401, allocations: 4 kB / 1.023 GB, free: 14.93 MB / 0.7794 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.0006104/0.8407, allocations: 420.7 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8408, allocations: 11.98 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.8408, allocations: 19.78 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.8413, allocations: 242.9 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.8413, allocations: 7.953 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.8414, allocations: 16 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.8416, allocations: 89.64 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8416, allocations: 3.938 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.8417, allocations: 15.94 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.8417, allocations: 4 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.8419, allocations: 75.91 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.8425, allocations: 392.6 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.8427, allocations: 62.55 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.8427, allocations: 12.11 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.843, allocations: 91.27 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.843, allocations: 3.938 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004559/0.8434, allocations: 141.5 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.8435, allocations: 55.41 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.8436, allocations: 132.5 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.8436, allocations: 33.7 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.8437, allocations: 111.9 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.8438, allocations: 19.66 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/0.8438, allocations: 12 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8439, allocations: 318.8 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.8441, allocations: 47.97 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.8442, allocations: 79.33 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.8444, allocations: 85.67 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8444, allocations: 0 / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004398/0.8449, allocations: 203.1 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.8449, allocations: 33.69 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.8449, allocations: 4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.845, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.8451, allocations: 19.98 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.8451, allocations: 4 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.8453, allocations: 40.03 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.8454, allocations: 19.88 kB / 1.026 GB, free: 11.9 MB / 0.7794 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,$PRE.fanStatus.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.8455, allocations: 125.9 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.8456, allocations: 11.84 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.8456, allocations: 12.38 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.8456, allocations: 0 / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8456, allocations: 0 / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.8456, allocations: 4 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.8458, allocations: 197.6 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8458, allocations: 0 / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.8459, allocations: 15.98 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.8459, allocations: 0 / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.846, allocations: 0 / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.846, allocations: 0 / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.846, allocations: 4 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.8463, allocations: 148.9 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.8463, allocations: 84.95 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.8463, allocations: 4 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.842e-05/0.8464, allocations: 15.92 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.8465, allocations: 7.984 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.8465, allocations: 7.984 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.945e-05/0.8466, allocations: 95.27 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8466, allocations: 0 / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002234/0.8468, allocations: 31.91 kB / 1.027 GB, free: 11.05 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.847, allocations: 111.2 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.8473, allocations: 171.3 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.8474, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.8475, allocations: 48.16 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.8477, allocations: 20.5 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.8481, allocations: 229.2 kB / 1.027 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.8485, allocations: 0.7004 MB / 1.028 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.882e-05/0.8486, allocations: 12.42 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.8486, allocations: 15.44 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8486, allocations: 0 / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of Templates: time 0.004773/0.8534, allocations: 1.358 MB / 1.029 GB, free: 8.383 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches