Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01025/0.01025, allocations: 99.64 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.002035/0.002036, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.597/1.597, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.131/3.131, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4133, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.004002/0.4174, allocations: 1.139 MB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002372/0.4198, allocations: 1.01 MB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.4201, allocations: 4 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.4203, allocations: 23.67 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.4205, allocations: 31.72 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.4208, allocations: 87.86 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.4211, allocations: 228.1 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/0.4214, allocations: 132.5 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.4217, allocations: 95.62 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.4218, allocations: 103.5 kB / 1.211 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.4219, allocations: 27.94 kB / 1.211 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.364e-05/0.4219, allocations: 24 kB / 1.211 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.422, allocations: 55.78 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.4221, allocations: 99.47 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.4224, allocations: 306.8 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4225, allocations: 0 / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.206e-06/0.4225, allocations: 0 / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.4225, allocations: 0 / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007899/0.4233, allocations: 0.4991 MB / 1.212 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4233, allocations: 8.625 kB / 1.212 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.4234, allocations: 24.66 kB / 1.212 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.4239, allocations: 276.3 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.424, allocations: 16.81 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.424, allocations: 20.31 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.4245, allocations: 203.8 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.4245, allocations: 192 / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.4246, allocations: 11.94 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.4246, allocations: 7.984 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.425, allocations: 157.6 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.4261, allocations: 0.58 MB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.4265, allocations: 164.7 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.4267, allocations: 68.72 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.4268, allocations: 4 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.4268, allocations: 38.56 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.4268, allocations: 0 / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17): time 0.0006183/0.4274, allocations: 214.5 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.4275, allocations: 55.39 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.4277, allocations: 187.4 kB / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.4277, allocations: 33.64 kB / 1.214 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4278, allocations: 144.2 kB / 1.214 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.4279, allocations: 43.39 kB / 1.214 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.4279, allocations: 57.59 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4281, allocations: 322.8 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.4283, allocations: 55.95 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.4285, allocations: 103.2 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.4288, allocations: 150.8 kB / 1.214 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4288, allocations: 3.938 kB / 1.214 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004086/0.4293, allocations: 197.2 kB / 1.215 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4293, allocations: 5.25 kB / 1.215 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4293, allocations: 0 / 1.215 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4293, allocations: 8.156 kB / 1.215 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.4295, allocations: 31.98 kB / 1.215 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.4295, allocations: 7.922 kB / 1.215 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.4297, allocations: 27.69 kB / 1.215 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.4297, allocations: 8 kB / 1.215 GB, free: 2.336 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.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 (22): * Single equations (assignments): 22 * 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.0002403/0.4299, allocations: 142.3 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.43, allocations: 19.84 kB / 1.215 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.43, allocations: 17.88 kB / 1.215 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.43, allocations: 0 / 1.215 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.43, allocations: 0 / 1.215 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.4301, allocations: 3.984 kB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.4304, allocations: 281.3 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4304, allocations: 4 kB / 1.215 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.4305, allocations: 23.92 kB / 1.215 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4306, allocations: 3.984 kB / 1.215 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.4306, allocations: 4 kB / 1.215 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4306, allocations: 4 kB / 1.215 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4306, allocations: 0 / 1.215 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.431, allocations: 265.5 kB / 1.215 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.4311, allocations: 88.92 kB / 1.215 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.4311, allocations: 4 kB / 1.215 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4312, allocations: 15.98 kB / 1.215 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.4313, allocations: 23.91 kB / 1.215 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.4313, allocations: 4 kB / 1.215 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.824e-05/0.4314, allocations: 119.2 kB / 1.216 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4314, allocations: 0 / 1.216 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002641/0.4317, allocations: 39.84 kB / 1.216 GB, free: 1.207 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001591/0.4319, allocations: 103.2 kB / 1.216 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004171/0.4323, allocations: 155.8 kB / 1.216 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4323, allocations: 0 / 1.216 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.4325, allocations: 79.8 kB / 1.216 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.4328, allocations: 19.94 kB / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006852/0.4335, allocations: 353.2 kB / 1.216 GB, free: 484 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.4339, allocations: 0.728 MB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.877e-05/0.434, allocations: 25.55 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.434, allocations: 23.42 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.434, allocations: 0 / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of Templates: time 0.004805/0.4388, allocations: 1.509 MB / 1.219 GB, free: 14.21 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches