Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.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.TerminalUnits.CoolingOnly.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.397/2.397, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001146/0.001146, allocations: 187 kB / 0.4902 GB, free: 2.227 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.646/1.646, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.001094/0.001094, allocations: 96.16 kB / 0.9396 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.000404, allocations: 14.25 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3324, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/0.5211, allocations: 150.9 MB / 1.377 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.5214, allocations: 75.95 kB / 1.377 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006474/0.5279, allocations: 2.454 MB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.726e-06/0.5279, allocations: 0 / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.5279, allocations: 4 kB / 1.379 GB, free: 15.96 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005836/0.5285, allocations: 435 kB / 1.38 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.5286, allocations: 8.562 kB / 1.38 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.5286, allocations: 19.81 kB / 1.38 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.5288, allocations: 191.5 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.5289, allocations: 16.28 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.5289, allocations: 12 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.5293, allocations: 151.9 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.5293, allocations: 3.984 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.5293, allocations: 4 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.5294, allocations: 8 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.5297, allocations: 140.7 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009607/0.5307, allocations: 0.5041 MB / 1.381 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.5311, allocations: 122.6 kB / 1.381 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.5311, allocations: 0 / 1.381 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.5311, allocations: 42.55 kB / 1.381 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.5312, allocations: 0 / 1.381 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0006697/0.5318, allocations: 209.7 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.5319, allocations: 63.36 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.532, allocations: 151.2 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.5321, allocations: 25.7 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.5322, allocations: 120.2 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.5322, allocations: 35.48 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-06/0.5322, allocations: 0 / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5323, allocations: 322.8 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.5325, allocations: 51.97 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.5327, allocations: 55.95 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.5328, allocations: 51.92 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5328, allocations: 3.984 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003587/0.5332, allocations: 145.5 kB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5332, allocations: 8 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5332, allocations: 0 / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.5333, allocations: 3.984 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.5335, allocations: 27.92 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.5335, allocations: 0 / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.5336, allocations: 15.94 kB / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.5336, allocations: 8 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: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.booToRea.u,actAirSet.intEqu2.y,actAirSet.intEqu1.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.0001264/0.5338, allocations: 126.5 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.5338, allocations: 15.75 kB / 1.382 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.5339, allocations: 16.7 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5339, allocations: 0 / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5339, allocations: 0 / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5339, allocations: 0 / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.5342, allocations: 241.5 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5342, allocations: 0 / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.5344, allocations: 31.91 kB / 1.382 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.5344, allocations: 4 kB / 1.382 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.5344, allocations: 4 kB / 1.382 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5344, allocations: 0 / 1.382 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5344, allocations: 0 / 1.382 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.5349, allocations: 263.2 kB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.5349, allocations: 88.95 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.5349, allocations: 0 / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.5351, allocations: 15.98 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.5352, allocations: 23.97 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.5352, allocations: 4 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.484e-05/0.5353, allocations: 120.7 kB / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5353, allocations: 0 / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002548/0.5355, allocations: 31.84 kB / 1.383 GB, free: 11.78 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.booToRea.u,actAirSet.intEqu2.y,actAirSet.intEqu1.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.0001617/0.5357, allocations: 112 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.5361, allocations: 124.8 kB / 1.383 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5361, allocations: 7.938 kB / 1.383 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.5363, allocations: 75.89 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.5366, allocations: 20.92 kB / 1.383 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.5372, allocations: 306.3 kB / 1.383 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.5374, allocations: 0.7235 MB / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.451e-05/0.5375, allocations: 8.438 kB / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.5376, allocations: 19.42 kB / 1.384 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of SimCode: time 5.21e-07/0.5376, allocations: 0 / 1.384 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of Templates: time 0.003744/0.5413, allocations: 1.211 MB / 1.385 GB, free: 9.176 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches