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.198/2.198, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001245/0.001246, allocations: 176 kB / 0.4902 GB, free: 2.246 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.49/1.49, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.0009966/0.0009969, allocations: 106.8 kB / 0.9396 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 11.14 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3835, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2132/0.5968, allocations: 150.9 MB / 1.377 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.5971, allocations: 79.94 kB / 1.377 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007801/0.605, allocations: 2.549 MB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.745e-06/0.605, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.605, allocations: 3.938 kB / 1.379 GB, free: 15.88 MB / 0.8855 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.00066/0.6057, allocations: 444.5 kB / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6057, allocations: 8.562 kB / 1.38 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.6058, allocations: 23.8 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.606, allocations: 170.9 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.606, allocations: 8 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.6061, allocations: 12 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.6064, allocations: 102.3 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.6064, allocations: 0 / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.6064, allocations: 4 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.6064, allocations: 8 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.6067, allocations: 84.91 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.6075, allocations: 428.3 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.6077, allocations: 74.55 kB / 1.381 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.6077, allocations: 4 kB / 1.381 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.608, allocations: 103.5 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.608, allocations: 0 / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0004791/0.6085, allocations: 157.5 kB / 1.381 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.6086, allocations: 51.41 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.6087, allocations: 128.2 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.6087, allocations: 29.7 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.6088, allocations: 115.9 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.6089, allocations: 19.72 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.6089, allocations: 0 / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.609, allocations: 322.8 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.6092, allocations: 55.97 kB / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.6094, allocations: 78.47 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.6095, allocations: 89.67 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6096, allocations: 0 / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004499/0.61, allocations: 203.3 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.6101, allocations: 41.62 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6101, allocations: 3.953 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.6101, allocations: 4 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.6102, allocations: 27.98 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.6102, allocations: 0 / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.6105, allocations: 43.95 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.6105, allocations: 4 kB / 1.382 GB, free: 12.84 MB / 0.8855 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 () * Number of clocked 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 0.0001181/0.6106, allocations: 129.8 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.6107, allocations: 7.906 kB / 1.382 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.6107, allocations: 16.7 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6107, allocations: 3.953 kB / 1.382 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6107, allocations: 0 / 1.382 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6107, allocations: 0 / 1.382 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.6109, allocations: 197.6 kB / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.6109, allocations: 0 / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.611, allocations: 23.97 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.6111, allocations: 4 kB / 1.382 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.6111, allocations: 4 kB / 1.382 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.6111, allocations: 7.938 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.6111, allocations: 7.891 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.6114, allocations: 149 kB / 1.382 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.6115, allocations: 81.02 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.6115, allocations: 7.984 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.6116, allocations: 4 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.6116, allocations: 11.94 kB / 1.383 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.6117, allocations: 8 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.538e-05/0.6117, allocations: 99.27 kB / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6117, allocations: 0 / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002438/0.612, allocations: 31.94 kB / 1.383 GB, free: 11.96 MB / 0.8855 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.0002097/0.6122, allocations: 112 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004192/0.6126, allocations: 191.3 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6126, allocations: 0 / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.6128, allocations: 47.91 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.613, allocations: 15.98 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.6135, allocations: 223.6 kB / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.6138, allocations: 0.7082 MB / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.709e-05/0.6138, allocations: 4 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.6138, allocations: 15.38 kB / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/0.6139, allocations: 0 / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of Templates: time 0.00431/0.6182, allocations: 1.401 MB / 1.385 GB, free: 9.227 MB / 0.8855 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