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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.253/2.253, allocations: 390.5 MB / 398 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 184.8 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.742/1.742, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 99.62 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.005e-05/2.007e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2806, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9924/1.273, allocations: 150.2 MB / 1.359 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.273, allocations: 82.56 kB / 1.359 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007377/1.281, allocations: 2.532 MB / 1.362 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.547e-06/1.281, allocations: 3.75 kB / 1.362 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.009e-05/1.281, allocations: 0 / 1.362 GB, free: 33.14 MB / 0.8386 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.0005511/1.281, allocations: 422.5 kB / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.281, allocations: 11.5 kB / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/1.281, allocations: 15.55 kB / 1.362 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/1.282, allocations: 183.9 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/1.282, allocations: 3.844 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/1.282, allocations: 9.312 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001194/1.282, allocations: 40.81 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/1.282, allocations: 73.28 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/1.282, allocations: 0 / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/1.282, allocations: 3.984 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/1.282, allocations: 3.812 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/1.283, allocations: 394.9 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.788e-05/1.283, allocations: 55.27 kB / 1.363 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.026e-05/1.283, allocations: 29.42 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/1.283, allocations: 0 / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/1.283, allocations: 69.83 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/1.283, allocations: 0 / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001942/1.283, allocations: 79.88 kB / 1.363 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/1.283, allocations: 60.59 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.375e-05/1.283, allocations: 116.5 kB / 1.363 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/1.283, allocations: 25.7 kB / 1.363 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/1.283, allocations: 110.2 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/1.283, allocations: 25.72 kB / 1.363 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/1.283, allocations: 0.8438 kB / 1.363 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/1.283, allocations: 319.8 kB / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.734e-05/1.284, allocations: 39 kB / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/1.284, allocations: 61.2 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/1.284, allocations: 48.22 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.284, allocations: 0 / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002899/1.284, allocations: 143.1 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/1.284, allocations: 36.77 kB / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.284, allocations: 0 / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.284, allocations: 0 / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/1.284, allocations: 18.72 kB / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/1.284, allocations: 7.812 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/1.285, allocations: 49.97 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/1.285, allocations: 12.95 kB / 1.364 GB, free: 31.37 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 7.996e-05/1.285, allocations: 104.8 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/1.285, allocations: 7.75 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/1.285, allocations: 13.55 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/1.285, allocations: 0 / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.285, allocations: 0.75 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.285, allocations: 1.641 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/1.285, allocations: 172.4 kB / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/1.285, allocations: 0 / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/1.285, allocations: 24.33 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.285, allocations: 0 / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/1.285, allocations: 7.188 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.285, allocations: 0.7812 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.285, allocations: 0 / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/1.285, allocations: 110.6 kB / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/1.285, allocations: 86.47 kB / 1.364 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/1.285, allocations: 4 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/1.285, allocations: 10.95 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/1.285, allocations: 9.062 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/1.285, allocations: 1.688 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.657e-05/1.285, allocations: 93.16 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.285, allocations: 0 / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002142/1.286, allocations: 34.44 kB / 1.365 GB, free: 30.83 MB / 0.8386 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 () * 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.000152/1.286, allocations: 114.2 kB / 1.365 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001952/1.286, allocations: 146.9 kB / 1.365 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.286, allocations: 0 / 1.365 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/1.286, allocations: 34.22 kB / 1.365 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/1.286, allocations: 16.86 kB / 1.365 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/1.287, allocations: 117.2 kB / 1.365 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/1.287, allocations: 0.7047 MB / 1.366 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.898e-05/1.287, allocations: 5.188 kB / 1.366 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/1.287, allocations: 11.25 kB / 1.366 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.287, allocations: 0 / 1.366 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of Templates: time 0.003726/1.291, allocations: 1.299 MB / 1.367 GB, free: 29.77 MB / 0.8386 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