Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 387.1 MB / 399.7 MB, free: 9.406 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.000955/0.0009549, allocations: 176.9 kB / 492.3 MB, free: 0.6055 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.619/1.619, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0009197/0.0009198, allocations: 98.75 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.813e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2384, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8589/1.097, allocations: 150 MB / 1.359 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.098, allocations: 79.38 kB / 1.359 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007334/1.105, allocations: 2.545 MB / 1.362 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.515e-06/1.105, allocations: 1.594 kB / 1.362 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.654e-06/1.105, allocations: 0 / 1.362 GB, free: 34.66 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.0004518/1.105, allocations: 425.4 kB / 1.362 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.106, allocations: 8.906 kB / 1.362 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/1.106, allocations: 15.53 kB / 1.362 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/1.106, allocations: 184.5 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/1.106, allocations: 15.19 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/1.106, allocations: 7.469 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/1.106, allocations: 84.7 kB / 1.362 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/1.106, allocations: 1.688 kB / 1.362 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/1.106, allocations: 3.953 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.106, allocations: 3.688 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.827e-05/1.106, allocations: 50.84 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/1.107, allocations: 422.9 kB / 1.363 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.775e-05/1.107, allocations: 52.69 kB / 1.363 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/1.107, allocations: 31.2 kB / 1.363 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/1.107, allocations: 3.984 kB / 1.363 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/1.107, allocations: 75.09 kB / 1.363 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.685e-06/1.107, allocations: 0 / 1.363 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001998/1.107, allocations: 96.78 kB / 1.363 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/1.107, allocations: 52.81 kB / 1.363 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/1.107, allocations: 130.9 kB / 1.363 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/1.107, allocations: 32.42 kB / 1.363 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/1.108, allocations: 104.8 kB / 1.363 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/1.108, allocations: 21.41 kB / 1.363 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/1.108, allocations: 6.719 kB / 1.363 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/1.108, allocations: 317.7 kB / 1.364 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/1.108, allocations: 42.11 kB / 1.364 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.171e-05/1.108, allocations: 57.77 kB / 1.364 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.631e-05/1.108, allocations: 73.52 kB / 1.364 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.108, allocations: 0 / 1.364 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002431/1.108, allocations: 173.1 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.108, allocations: 37.89 kB / 1.364 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.108, allocations: 3.844 kB / 1.364 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.108, allocations: 3.953 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/1.108, allocations: 22.84 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.108, allocations: 3.875 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/1.109, allocations: 44.84 kB / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/1.109, allocations: 10.11 kB / 1.364 GB, free: 32.79 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.228e-05/1.109, allocations: 110 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/1.109, allocations: 7.75 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/1.109, allocations: 17 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.109, allocations: 3.953 kB / 1.364 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.109, allocations: 0 / 1.364 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.109, allocations: 0 / 1.364 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/1.109, allocations: 201.2 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.109, allocations: 4 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/1.109, allocations: 18.31 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/1.109, allocations: 3.938 kB / 1.364 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/1.109, allocations: 5.094 kB / 1.364 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.109, allocations: 0 / 1.364 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.109, allocations: 3.953 kB / 1.364 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/1.109, allocations: 119.8 kB / 1.365 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/1.109, allocations: 82.47 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/1.109, allocations: 0 / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/1.109, allocations: 18.2 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/1.109, allocations: 6.531 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/1.109, allocations: 3.953 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.787e-05/1.109, allocations: 107.1 kB / 1.365 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.109, allocations: 0 / 1.365 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002215/1.11, allocations: 30.97 kB / 1.365 GB, free: 32.21 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.0001562/1.11, allocations: 115.3 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002082/1.11, allocations: 150.6 kB / 1.365 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/1.11, allocations: 0 / 1.365 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/1.11, allocations: 33.95 kB / 1.365 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/1.11, allocations: 15.7 kB / 1.365 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/1.111, allocations: 136.2 kB / 1.365 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/1.111, allocations: 0.7045 MB / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.821e-05/1.111, allocations: 5.219 kB / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/1.111, allocations: 11.31 kB / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.111, allocations: 0 / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.003752/1.115, allocations: 1.423 MB / 1.367 GB, free: 31.13 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches