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.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.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.001351/0.001351, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001477/0.001477, allocations: 177.3 kB / 15.95 MB, free: 216 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.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.611/2.611, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003898, allocations: 8 kB / 0.8708 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7904/0.7909, allocations: 153.7 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001564/0.7925, allocations: 0.7845 MB / 1.022 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.7939, allocations: 0.9871 MB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.794, allocations: 8 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.794, allocations: 11.86 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.7942, allocations: 27.83 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.7943, allocations: 51.95 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.7945, allocations: 116.4 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.7947, allocations: 98.55 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.7948, allocations: 63.7 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.7949, allocations: 59.64 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.795, allocations: 8 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.069e-05/0.795, allocations: 4 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.795, allocations: 27.83 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.7951, allocations: 53.64 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.7953, allocations: 217.3 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.7953, allocations: 0 / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7953, allocations: 0 / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.7953, allocations: 0 / 1.023 GB, free: 14.54 MB / 0.7794 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.0006717/0.796, allocations: 459.1 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.7961, allocations: 15.98 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.7961, allocations: 23.66 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.7966, allocations: 283.1 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.7966, allocations: 24.38 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.7967, allocations: 16 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.7971, allocations: 191.2 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.7971, allocations: 4 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.7971, allocations: 8 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.7971, allocations: 4 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.7975, allocations: 157.7 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.7983, allocations: 0.5686 MB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.7986, allocations: 134.6 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.7986, allocations: 4 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.7986, allocations: 34.56 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 2.515e-06/0.7987, allocations: 4 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005753/0.7992, allocations: 220 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.7993, allocations: 55.41 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.7995, allocations: 170.8 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.7995, allocations: 33.7 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.7996, allocations: 144.1 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.7996, allocations: 39.45 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.7996, allocations: 4 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7998, allocations: 326.8 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.7999, allocations: 59.97 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.8001, allocations: 97.09 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.8003, allocations: 63.86 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.8003, allocations: 0 / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003754/0.8007, allocations: 197.2 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.8007, allocations: 9.719 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.8007, allocations: 3.984 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.8007, allocations: 4.156 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.8009, allocations: 39.92 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.8009, allocations: 7.938 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.801, allocations: 27.83 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.8011, allocations: 4 kB / 1.027 GB, free: 10.93 MB / 0.7794 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 0.0001258/0.8012, allocations: 143.2 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.8012, allocations: 11.91 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.8013, allocations: 17.52 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8013, allocations: 4 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8013, allocations: 3.953 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.8013, allocations: 0 / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.8016, allocations: 265.4 kB / 1.027 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8016, allocations: 3.938 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.8017, allocations: 27.97 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8017, allocations: 4 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.8017, allocations: 4 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8017, allocations: 4 kB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8017, allocations: 0 / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.8021, allocations: 265.6 kB / 1.027 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.8022, allocations: 96.84 kB / 1.027 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.8022, allocations: 0 / 1.027 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.8024, allocations: 19.98 kB / 1.027 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.8024, allocations: 23.91 kB / 1.027 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.8024, allocations: 4 kB / 1.027 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.328e-05/0.8025, allocations: 121.2 kB / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8025, allocations: 4 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002547/0.8028, allocations: 43.8 kB / 1.028 GB, free: 9.797 MB / 0.7794 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 0.0001262/0.8029, allocations: 99.25 kB / 1.028 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.8033, allocations: 155.8 kB / 1.028 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8033, allocations: 3.938 kB / 1.028 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.8035, allocations: 67.97 kB / 1.028 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.8038, allocations: 28.23 kB / 1.028 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.8044, allocations: 376.4 kB / 1.028 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.8047, allocations: 0.7401 MB / 1.029 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000102/0.8048, allocations: 17.55 kB / 1.029 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.8049, allocations: 23.42 kB / 1.029 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8049, allocations: 3.938 kB / 1.029 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of Templates: time 0.003872/0.8088, allocations: 1.221 MB / 1.03 GB, free: 7.066 MB / 0.7794 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","../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