Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001175/0.001175, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001101/0.001102, allocations: 177.3 kB / 15.95 MB, free: 208 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.311/1.311, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003213, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6207/0.621, allocations: 142.3 MB / 0.9536 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001125/0.6222, allocations: 0.7784 MB / 0.9543 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.6235, allocations: 0.9872 MB / 0.9553 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.6236, allocations: 3.375 kB / 0.9553 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.743e-05/0.6236, allocations: 15.8 kB / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.6238, allocations: 23.58 kB / 0.9553 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.624, allocations: 59.02 kB / 0.9554 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.6242, allocations: 113.8 kB / 0.9555 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.6244, allocations: 93.3 kB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.6246, allocations: 59.73 kB / 0.9556 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.6247, allocations: 68.28 kB / 0.9557 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.6247, allocations: 9.938 kB / 0.9557 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.116e-05/0.6248, allocations: 5.312 kB / 0.9557 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.6248, allocations: 25.53 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.6248, allocations: 54.77 kB / 0.9558 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.625, allocations: 213.3 kB / 0.956 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.625, allocations: 0 / 0.956 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.525e-06/0.625, allocations: 1.188 kB / 0.956 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.625, allocations: 3.938 kB / 0.956 GB, free: 6.199 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005663/0.6256, allocations: 465.2 kB / 0.9564 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.6256, allocations: 9.469 kB / 0.9565 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.557e-05/0.6257, allocations: 30.34 kB / 0.9565 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.6262, allocations: 274.1 kB / 0.9567 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.6262, allocations: 21.5 kB / 0.9568 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.6262, allocations: 15.81 kB / 0.9568 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.6266, allocations: 191.5 kB / 0.957 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.6266, allocations: 0 / 0.957 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.6267, allocations: 5.969 kB / 0.957 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.6267, allocations: 4.938 kB / 0.957 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.6271, allocations: 166.8 kB / 0.9571 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006979/0.6278, allocations: 0.5691 MB / 0.9577 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.6281, allocations: 137.1 kB / 0.9578 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.6281, allocations: 1.531 kB / 0.9578 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.6281, allocations: 40.11 kB / 0.9579 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.6281, allocations: 0 / 0.9579 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005918/0.6287, allocations: 220.7 kB / 0.9581 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.6288, allocations: 53.19 kB / 0.9581 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.6289, allocations: 170.2 kB / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.6289, allocations: 35.52 kB / 0.9583 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.629, allocations: 138.3 kB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.629, allocations: 37.08 kB / 0.9585 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.629, allocations: 4 kB / 0.9585 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.315e-05/0.6291, allocations: 322.8 kB / 0.9588 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.6292, allocations: 60.11 kB / 0.9589 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.6294, allocations: 108.7 kB / 0.959 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.6296, allocations: 64.84 kB / 0.959 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6296, allocations: 0 / 0.959 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003856/0.63, allocations: 193.9 kB / 0.9592 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.63, allocations: 5.406 kB / 0.9592 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.63, allocations: 2.688 kB / 0.9592 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.63, allocations: 1.344 kB / 0.9592 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.6302, allocations: 42.5 kB / 0.9593 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6302, allocations: 6.469 kB / 0.9593 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.6304, allocations: 23.02 kB / 0.9593 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.6304, allocations: 12.59 kB / 0.9593 GB, free: 3.496 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.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 (20): * Single equations (assignments): 20 * 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 9.43e-05/0.6305, allocations: 134.1 kB / 0.9594 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.6305, allocations: 10 kB / 0.9594 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.6306, allocations: 25.33 kB / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.6306, allocations: 5.594 kB / 0.9595 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6306, allocations: 0 / 0.9595 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6306, allocations: 1.25 kB / 0.9595 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.6308, allocations: 273.1 kB / 0.9597 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6308, allocations: 1 kB / 0.9597 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.631, allocations: 30.06 kB / 0.9598 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.631, allocations: 1.281 kB / 0.9598 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.631, allocations: 5.312 kB / 0.9598 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.631, allocations: 0 / 0.9598 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.631, allocations: 9.297 kB / 0.9598 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.6314, allocations: 261.1 kB / 0.96 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.6314, allocations: 90.17 kB / 0.9601 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.6315, allocations: 4 kB / 0.9601 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.6316, allocations: 12.14 kB / 0.9601 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.6317, allocations: 20.41 kB / 0.9601 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.6317, allocations: 7.281 kB / 0.9601 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.956e-05/0.6318, allocations: 126.4 kB / 0.9603 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6318, allocations: 1.062 kB / 0.9603 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002807/0.6321, allocations: 39.38 kB / 0.9603 GB, free: 2.609 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 9.857e-05/0.6322, allocations: 115 kB / 0.9604 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000412/0.6326, allocations: 153.8 kB / 0.9606 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6326, allocations: 0 / 0.9606 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.6328, allocations: 78.61 kB / 0.9606 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.633, allocations: 14.88 kB / 0.9606 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.6336, allocations: 384.8 kB / 0.961 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.6337, allocations: 0.7346 MB / 0.9617 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.6339, allocations: 27.59 kB / 0.9618 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.6339, allocations: 17.19 kB / 0.9618 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6339, allocations: 1.125 kB / 0.9618 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of Templates: time 0.004117/0.638, allocations: 1.242 MB / 0.963 GB, free: 0.7656 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches