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.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001212/0.001212, allocations: 192.8 kB / 16.13 MB, free: 6.699 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.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.944/2.944, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.34 kB / 0.8985 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3468, allocations: 157.4 MB / 1.052 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002809/0.3496, allocations: 1.184 MB / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.3512, allocations: 1.01 MB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.3514, allocations: 4 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.592e-05/0.3515, allocations: 11.86 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.3517, allocations: 15.8 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.352, allocations: 67.95 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000248/0.3523, allocations: 216.1 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.3525, allocations: 128.1 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.3527, allocations: 83.62 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.3529, allocations: 91.53 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.3529, allocations: 12 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.26e-05/0.353, allocations: 12 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.353, allocations: 43.78 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.605e-05/0.3531, allocations: 91.45 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.3534, allocations: 287.2 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3534, allocations: 0 / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3534, allocations: 0 / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.3534, allocations: 0 / 1.055 GB, free: 5.543 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008124/0.3543, allocations: 499.1 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3543, allocations: 12.02 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.3544, allocations: 24.66 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.3549, allocations: 292.1 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.355, allocations: 20.75 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.355, allocations: 20.38 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.3554, allocations: 195.8 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3554, allocations: 192 / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.3555, allocations: 11.94 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.3555, allocations: 4 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004167/0.3559, allocations: 157.7 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/0.3568, allocations: 0.5995 MB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.3572, allocations: 154.7 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.3573, allocations: 64.81 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3574, allocations: 12.06 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3574, allocations: 38.56 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.3574, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0006219/0.358, allocations: 218.6 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.3581, allocations: 51.41 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.3583, allocations: 186.7 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.3583, allocations: 29.7 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.3584, allocations: 140.2 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.3584, allocations: 47.3 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.3585, allocations: 53.69 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.3586, allocations: 322.8 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.3588, allocations: 55.95 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.359, allocations: 101.1 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.3594, allocations: 146.8 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3594, allocations: 0 / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000471/0.3599, allocations: 202.8 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3599, allocations: 4 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3599, allocations: 0 / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3599, allocations: 4 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.3601, allocations: 35.91 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3602, allocations: 0 / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3603, allocations: 27.83 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3603, allocations: 4 kB / 1.059 GB, free: 1.613 MB / 0.8106 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.0002044/0.3605, allocations: 143.1 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.3606, allocations: 23.69 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.021e-05/0.3606, allocations: 21.86 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.3606, allocations: 0 / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3606, allocations: 0 / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3606, allocations: 3.938 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.361, allocations: 281.4 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.361, allocations: 4 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.3611, allocations: 27.97 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.3611, allocations: 0 / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3611, allocations: 4 kB / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3612, allocations: 0 / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3612, allocations: 0 / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.3616, allocations: 265.3 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.3617, allocations: 96.86 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.3617, allocations: 7.938 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.3618, allocations: 11.98 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.3619, allocations: 19.97 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.3619, allocations: 4 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001012/0.362, allocations: 119.2 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3621, allocations: 0 / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002826/0.3623, allocations: 35.84 kB / 1.06 GB, free: 488 kB / 0.8106 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.0001366/0.3625, allocations: 118.1 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004186/0.3629, allocations: 155.7 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3629, allocations: 0 / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.3631, allocations: 76.2 kB / 1.06 GB, free: 128 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.3634, allocations: 27.88 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.3642, allocations: 406.8 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.3645, allocations: 0.7361 MB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.3646, allocations: 21.55 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.3647, allocations: 19.42 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3647, allocations: 0 / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of Templates: time 0.004331/0.369, allocations: 1.343 MB / 1.063 GB, free: 13.59 MB / 0.8262 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