Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.SeriesFanVVF.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009434/0.009434, allocations: 102.1 kB / 15.73 MB, free: 5.996 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.001634/0.001634, allocations: 185.5 kB / 16.67 MB, free: 5.93 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.01/3.01, allocations: 472.6 MB / 0.7453 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.89 kB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4298, allocations: 159.9 MB / 1.226 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002452/0.4323, allocations: 1.012 MB / 1.227 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.4337, allocations: 0.9791 MB / 1.228 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.314e-05/0.4338, allocations: 4 kB / 1.228 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.11e-05/0.4338, allocations: 15.75 kB / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.434, allocations: 19.8 kB / 1.228 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.4342, allocations: 63.88 kB / 1.228 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.4344, allocations: 164 kB / 1.228 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.4347, allocations: 92.19 kB / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.4348, allocations: 71.69 kB / 1.228 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.4349, allocations: 71.69 kB / 1.228 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.435, allocations: 16 kB / 1.228 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.884e-05/0.435, allocations: 16 kB / 1.228 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.435, allocations: 35.86 kB / 1.228 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.4351, allocations: 83.58 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.4354, allocations: 211.1 kB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4354, allocations: 0 / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4354, allocations: 0 / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.4354, allocations: 0 / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007088/0.4362, allocations: 454.7 kB / 1.229 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.4362, allocations: 8.031 kB / 1.229 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/0.4363, allocations: 24.8 kB / 1.229 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.4368, allocations: 261.4 kB / 1.229 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.4368, allocations: 12.38 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.4368, allocations: 12.38 kB / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.4372, allocations: 150 kB / 1.229 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4372, allocations: 192 / 1.229 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.4372, allocations: 15.88 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.4372, allocations: 7.984 kB / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.4376, allocations: 111.9 kB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.4383, allocations: 480.2 kB / 1.23 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.4386, allocations: 130.5 kB / 1.23 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.4388, allocations: 56.77 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.4388, allocations: 0 / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.4388, allocations: 30.56 kB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.4388, allocations: 0 / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005583/0.4394, allocations: 189.4 kB / 1.23 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.4395, allocations: 51.41 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.4396, allocations: 152.2 kB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.4396, allocations: 29.7 kB / 1.231 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/0.4397, allocations: 124.3 kB / 1.231 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.4398, allocations: 31.7 kB / 1.231 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.4398, allocations: 37.7 kB / 1.231 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.44, allocations: 330.8 kB / 1.231 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.4401, allocations: 43.95 kB / 1.231 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.4403, allocations: 67.41 kB / 1.231 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.4406, allocations: 115.3 kB / 1.231 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4406, allocations: 3.938 kB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003562/0.4409, allocations: 146 kB / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.441, allocations: 9.812 kB / 1.231 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.441, allocations: 4 kB / 1.231 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.441, allocations: 0 / 1.231 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.4412, allocations: 31.91 kB / 1.231 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.4412, allocations: 4 kB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.202e-05/0.4413, allocations: 15.88 kB / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.4413, allocations: 8 kB / 1.231 GB, free: 2.949 MB / 0.9825 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 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (15): * Single equations (assignments): 15 * 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.0001246/0.4414, allocations: 132.5 kB / 1.232 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.4415, allocations: 19.84 kB / 1.232 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.4415, allocations: 12.72 kB / 1.232 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4415, allocations: 4 kB / 1.232 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4415, allocations: 3.984 kB / 1.232 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4415, allocations: 0 / 1.232 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.4418, allocations: 241.5 kB / 1.232 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4418, allocations: 0 / 1.232 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.4419, allocations: 23.92 kB / 1.232 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4419, allocations: 0 / 1.232 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.442, allocations: 4 kB / 1.232 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.442, allocations: 8 kB / 1.232 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.442, allocations: 0 / 1.232 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.4423, allocations: 243.3 kB / 1.232 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.4424, allocations: 89.05 kB / 1.232 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.4424, allocations: 0 / 1.232 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.4425, allocations: 12 kB / 1.232 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.4426, allocations: 19.97 kB / 1.232 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.4426, allocations: 7.938 kB / 1.232 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.071e-05/0.4427, allocations: 117.2 kB / 1.232 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4427, allocations: 0 / 1.232 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002489/0.443, allocations: 27.89 kB / 1.232 GB, free: 1.906 MB / 0.9825 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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 (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.0001399/0.4431, allocations: 107.2 kB / 1.232 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.4435, allocations: 111.9 kB / 1.233 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4435, allocations: 0 / 1.233 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.4437, allocations: 63.89 kB / 1.233 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.444, allocations: 16 kB / 1.233 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.4446, allocations: 272.6 kB / 1.233 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.445, allocations: 0.7123 MB / 1.234 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.943e-05/0.4451, allocations: 17.08 kB / 1.234 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.4451, allocations: 15.44 kB / 1.234 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.4452, allocations: 0 / 1.234 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of Templates: time 0.00442/0.4496, allocations: 1.259 MB / 1.235 GB, free: 15.33 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches