Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.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.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001539/0.001539, allocations: 181.1 kB / 498.1 MB, free: 5.723 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.587/1.587, allocations: 223.2 MB / 0.7949 GB, free: 18.81 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.001057/0.001057, allocations: 103.8 kB / 0.9346 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 8.875 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3039, allocations: 142.4 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.4962, allocations: 150.1 MB / 1.369 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.4965, allocations: 71.95 kB / 1.37 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006441/0.5029, allocations: 2.434 MB / 1.372 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.434e-06/0.503, allocations: 0 / 1.372 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.503, allocations: 4 kB / 1.372 GB, free: 0.7422 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006502/0.5036, allocations: 431 kB / 1.372 GB, free: 276 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.5037, allocations: 8.031 kB / 1.372 GB, free: 268 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.5038, allocations: 15.81 kB / 1.372 GB, free: 252 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.504, allocations: 196 kB / 1.373 GB, free: 16 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.504, allocations: 16.28 kB / 1.373 GB, free: 0 / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.5041, allocations: 12.05 kB / 1.373 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.5044, allocations: 151.8 kB / 1.373 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.5045, allocations: 0 / 1.373 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.5045, allocations: 4 kB / 1.373 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5045, allocations: 4 kB / 1.373 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.5049, allocations: 144.7 kB / 1.373 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008992/0.5058, allocations: 0.4965 MB / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.5061, allocations: 130.6 kB / 1.373 GB, free: 15 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.5061, allocations: 0 / 1.373 GB, free: 15 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.5062, allocations: 30.56 kB / 1.373 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.5062, allocations: 0 / 1.373 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0006039/0.5068, allocations: 209.4 kB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.5068, allocations: 59.36 kB / 1.374 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.507, allocations: 150 kB / 1.374 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.507, allocations: 29.7 kB / 1.374 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.5071, allocations: 116.1 kB / 1.374 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.5071, allocations: 31.55 kB / 1.374 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-06/0.5072, allocations: 4 kB / 1.374 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5073, allocations: 314.8 kB / 1.374 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.5074, allocations: 59.95 kB / 1.374 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.5076, allocations: 51.97 kB / 1.374 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.5078, allocations: 47.97 kB / 1.375 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5078, allocations: 0 / 1.375 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003543/0.5081, allocations: 153.4 kB / 1.375 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.5082, allocations: 8.938 kB / 1.375 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5082, allocations: 4 kB / 1.375 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.5082, allocations: 0 / 1.375 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.5084, allocations: 19.98 kB / 1.375 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5084, allocations: 7.938 kB / 1.375 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.5085, allocations: 19.94 kB / 1.375 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.5085, allocations: 7.984 kB / 1.375 GB, free: 13.64 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001075/0.5087, allocations: 125.8 kB / 1.375 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.5087, allocations: 15.81 kB / 1.375 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.5087, allocations: 12.72 kB / 1.375 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5088, allocations: 4 kB / 1.375 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5088, allocations: 0 / 1.375 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5088, allocations: 0 / 1.375 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.509, allocations: 245.5 kB / 1.375 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.509, allocations: 0 / 1.375 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.5093, allocations: 27.98 kB / 1.375 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.5093, allocations: 0 / 1.375 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.5093, allocations: 3.984 kB / 1.375 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5093, allocations: 3.938 kB / 1.375 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5093, allocations: 0 / 1.375 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.5097, allocations: 263.9 kB / 1.375 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.5098, allocations: 88.95 kB / 1.375 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.5099, allocations: 12 kB / 1.376 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.51, allocations: 11.98 kB / 1.376 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.5101, allocations: 19.97 kB / 1.376 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.5101, allocations: 4 kB / 1.376 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.619e-05/0.5102, allocations: 124.8 kB / 1.376 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5102, allocations: 0 / 1.376 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002538/0.5105, allocations: 27.84 kB / 1.376 GB, free: 12.58 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001573/0.5106, allocations: 115 kB / 1.376 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.511, allocations: 127.9 kB / 1.376 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.511, allocations: 0 / 1.376 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.5112, allocations: 71.95 kB / 1.376 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.5115, allocations: 11.95 kB / 1.376 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.5121, allocations: 310.2 kB / 1.376 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.5124, allocations: 0.7196 MB / 1.377 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.968e-05/0.5125, allocations: 16.55 kB / 1.377 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.5125, allocations: 15.44 kB / 1.377 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.5125, allocations: 0 / 1.377 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of Templates: time 0.003869/0.5164, allocations: 1.216 MB / 1.378 GB, free: 9.965 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches