Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 99.86 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.001268/0.001268, allocations: 177.3 kB / 15.94 MB, free: 228 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.456/1.456, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.706/2.706, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003733, allocations: 8 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7852, allocations: 153.6 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.001864/0.7871, allocations: 0.9219 MB / 1.022 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.7885, allocations: 1.049 MB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.7887, allocations: 8 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.7887, allocations: 19.78 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.7889, allocations: 31.89 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.7891, allocations: 71.86 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.7893, allocations: 152.7 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.7895, allocations: 124 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.7897, allocations: 83.56 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.7898, allocations: 75.55 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.7898, allocations: 12 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.697e-05/0.7899, allocations: 8 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.7899, allocations: 35.78 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.79, allocations: 61.58 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.7902, allocations: 293.2 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.7902, allocations: 4 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.153e-06/0.7903, allocations: 0 / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.7903, allocations: 3.938 kB / 1.024 GB, free: 14.16 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007768/0.7911, allocations: 0.495 MB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.7911, allocations: 12.03 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.7912, allocations: 27.72 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.7917, allocations: 331.7 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.7918, allocations: 20.56 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.7918, allocations: 24 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.7923, allocations: 228.8 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.7923, allocations: 4 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.7923, allocations: 8 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.7923, allocations: 8 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.7928, allocations: 186.1 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009524/0.7937, allocations: 0.674 MB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.7941, allocations: 158.5 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.7941, allocations: 0 / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.7942, allocations: 38.52 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.7942, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.0006049/0.7948, allocations: 239.7 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.7948, allocations: 51.41 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.795, allocations: 207.6 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.795, allocations: 29.7 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.7952, allocations: 168.1 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.7952, allocations: 43.25 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.7952, allocations: 8 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.7953, allocations: 334.8 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.7955, allocations: 63.95 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.7957, allocations: 130.7 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.7959, allocations: 63.97 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.796, allocations: 4 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004447/0.7964, allocations: 230.7 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.7964, allocations: 7.953 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7964, allocations: 0 / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7965, allocations: 4 kB / 1.027 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.7966, allocations: 43.91 kB / 1.027 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.7967, allocations: 4 kB / 1.027 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.7968, allocations: 32.05 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.7968, allocations: 12 kB / 1.027 GB, free: 10.08 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.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 (25): * Single equations (assignments): 25 * 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.0001587/0.797, allocations: 146.9 kB / 1.028 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.797, allocations: 19.81 kB / 1.028 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.7971, allocations: 25.83 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.7971, allocations: 0 / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7971, allocations: 4 kB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7971, allocations: 3.984 kB / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.7974, allocations: 293.4 kB / 1.028 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.7974, allocations: 0 / 1.028 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.7976, allocations: 35.91 kB / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7976, allocations: 0 / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.7976, allocations: 4 kB / 1.028 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.7976, allocations: 3.953 kB / 1.028 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.7976, allocations: 0 / 1.028 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.798, allocations: 276.3 kB / 1.028 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.7981, allocations: 92.83 kB / 1.028 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.7981, allocations: 12 kB / 1.028 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.7983, allocations: 15.98 kB / 1.028 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.7984, allocations: 39.89 kB / 1.028 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.7984, allocations: 4 kB / 1.028 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.589e-05/0.7985, allocations: 137.5 kB / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.302e-06/0.7985, allocations: 0 / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002737/0.7988, allocations: 51.72 kB / 1.029 GB, free: 8.852 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: 9 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * 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 (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.0001485/0.7989, allocations: 118.6 kB / 1.029 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.7994, allocations: 178 kB / 1.029 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7994, allocations: 0 / 1.029 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.7996, allocations: 83.89 kB / 1.029 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.7998, allocations: 23.92 kB / 1.029 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007718/0.8006, allocations: 453.8 kB / 1.029 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.8009, allocations: 0.7564 MB / 1.03 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.8011, allocations: 21.95 kB / 1.03 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.8011, allocations: 27.42 kB / 1.03 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8011, allocations: 0 / 1.03 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of Templates: time 0.005022/0.8062, allocations: 1.662 MB / 1.032 GB, free: 5.547 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches