Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009367/0.009368, allocations: 99.14 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002264/0.002264, allocations: 196.9 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.546/2.546, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 76.2 kB / 0.9509 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3767, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002331/0.3791, allocations: 1.012 MB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3803, allocations: 0.9713 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.3804, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.158e-05/0.3805, allocations: 19.8 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.3806, allocations: 19.73 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.3808, allocations: 63.88 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.381, allocations: 164 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.3812, allocations: 96.17 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.3814, allocations: 71.69 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3815, allocations: 71.69 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.3816, allocations: 16 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.503e-05/0.3816, allocations: 16 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.69e-05/0.3816, allocations: 35.8 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.008e-05/0.3817, allocations: 79.58 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.3819, allocations: 207.2 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3819, allocations: 4 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3819, allocations: 4 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.382, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 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.0006461/0.3826, allocations: 439.2 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3827, allocations: 16.02 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.3827, allocations: 16.75 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.3831, allocations: 249.9 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3832, allocations: 16.66 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.3832, allocations: 12.38 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.3835, allocations: 151.9 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3835, allocations: 4 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.3836, allocations: 4 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3836, allocations: 4 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.3839, allocations: 108.8 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.3846, allocations: 476.1 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.3849, allocations: 106.6 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.385, allocations: 52.84 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.3851, allocations: 8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3851, allocations: 34.5 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.3851, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.000552/0.3857, allocations: 173.3 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.3857, allocations: 51.41 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3859, allocations: 153 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.3859, allocations: 29.7 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.386, allocations: 128 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.386, allocations: 23.66 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/0.3861, allocations: 45.61 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3862, allocations: 326.8 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.3863, allocations: 43.95 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.3865, allocations: 67.41 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.3868, allocations: 115.7 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3868, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003539/0.3872, allocations: 145.4 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3872, allocations: 8 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3872, allocations: 3.938 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3872, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.3874, allocations: 36.06 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3874, allocations: 3.938 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.211e-05/0.3875, allocations: 15.91 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3875, allocations: 11.92 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.3877, allocations: 129.7 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.3877, allocations: 15.91 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.3877, allocations: 8.719 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3878, allocations: 8 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3878, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3878, allocations: 3.984 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.388, allocations: 229.5 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.388, allocations: 0 / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.3882, allocations: 23.97 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3882, allocations: 4 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3882, allocations: 0 / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3882, allocations: 3.984 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3882, allocations: 0 / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.3886, allocations: 239.1 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.3886, allocations: 81.02 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.3887, allocations: 8 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3888, allocations: 7.984 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.649e-05/0.3889, allocations: 15.98 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3889, allocations: 11.98 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.061e-05/0.389, allocations: 110 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.389, allocations: 4 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002534/0.3892, allocations: 27.84 kB / 1.095 GB, free: 10.36 MB / 0.8575 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.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001369/0.3894, allocations: 103.2 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.3897, allocations: 112 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3897, allocations: 0 / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.3899, allocations: 59.89 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.3902, allocations: 12 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.3908, allocations: 261.4 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.3911, allocations: 0.7194 MB / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.935e-05/0.3912, allocations: 16.64 kB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.3913, allocations: 19.44 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3913, allocations: 0 / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of Templates: time 0.004086/0.3954, allocations: 1.266 MB / 1.097 GB, free: 7.789 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches