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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008079/0.0008078, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0008656/0.0008657, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.902/2.902, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 14.69 kB / 0.9022 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3794, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001476/0.3809, allocations: 0.6975 MB / 1.059 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.3825, allocations: 0.9559 MB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.3826, allocations: 0 / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.409e-05/0.3827, allocations: 11.86 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.3828, allocations: 15.86 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.3831, allocations: 47.95 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.3833, allocations: 152 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.3835, allocations: 63.05 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.3837, allocations: 55.72 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3838, allocations: 47.7 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.3839, allocations: 8 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.131e-05/0.3839, allocations: 4 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.3839, allocations: 23.84 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.19e-05/0.384, allocations: 53.64 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.3842, allocations: 155.8 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3842, allocations: 4 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3842, allocations: 0 / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.3843, allocations: 0 / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008853/0.3851, allocations: 426.8 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3852, allocations: 12.03 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.3853, allocations: 23.72 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.3857, allocations: 258.7 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.3858, allocations: 15.98 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.3858, allocations: 12 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.3862, allocations: 157.5 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3862, allocations: 3.938 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.3863, allocations: 8 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3863, allocations: 4 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.3866, allocations: 131.9 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.3874, allocations: 484.1 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.3877, allocations: 122.6 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.3879, allocations: 64.83 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.3879, allocations: 7.984 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.388, allocations: 34.55 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.388, allocations: 0 / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005699/0.3885, allocations: 189.4 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3886, allocations: 55.41 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3888, allocations: 158.3 kB / 1.062 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3888, allocations: 29.7 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.3889, allocations: 132 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.3889, allocations: 27.56 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.389, allocations: 4 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3891, allocations: 326.8 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3893, allocations: 47.95 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.3894, allocations: 81.94 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.3897, allocations: 47.97 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3897, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003759/0.3901, allocations: 165.4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3901, allocations: 7.938 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3902, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3902, allocations: 3.938 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.3904, allocations: 35.95 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3904, allocations: 4 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3905, allocations: 19.83 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.3905, allocations: 8.094 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.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 (15): * Single equations (assignments): 15 * 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.0001362/0.3907, allocations: 137.7 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.3907, allocations: 7.906 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.3908, allocations: 16.72 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3908, allocations: 0 / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3908, allocations: 3.984 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3908, allocations: 0 / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.3911, allocations: 241.4 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.3911, allocations: 4 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.3913, allocations: 19.98 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3913, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.3913, allocations: 4 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3913, allocations: 7.938 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3913, allocations: 0 / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.3917, allocations: 247.8 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.3918, allocations: 88.94 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3918, allocations: 4 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3919, allocations: 16 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.392, allocations: 15.97 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.392, allocations: 4 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.209e-05/0.3921, allocations: 109.7 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3921, allocations: 0 / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002727/0.3924, allocations: 27.91 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001414/0.3925, allocations: 103.2 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.3929, allocations: 131.9 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3929, allocations: 0 / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.3931, allocations: 68.14 kB / 1.064 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.3935, allocations: 17.91 kB / 1.064 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.3941, allocations: 325.3 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.3945, allocations: 0.7165 MB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.885e-05/0.3946, allocations: 17.08 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.3947, allocations: 19.42 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3947, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of Templates: time 0.004235/0.3989, allocations: 1.067 MB / 1.067 GB, free: 12.23 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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