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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.3 MB / 405.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 184.9 kB / 498.1 MB, free: 5.816 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 223.2 MB / 0.7949 GB, free: 18.01 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 94.5 kB / 0.9346 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003996, allocations: 11.28 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3028, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1877/0.4906, allocations: 150.3 MB / 1.37 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4909, allocations: 79.94 kB / 1.37 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007736/0.4986, allocations: 3.112 MB / 1.373 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4987, allocations: 0 / 1.373 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.4987, allocations: 4 kB / 1.373 GB, free: 8.676 MB / 0.8698 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.0005933/0.4993, allocations: 471 kB / 1.373 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4993, allocations: 12.03 kB / 1.373 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.4994, allocations: 23.72 kB / 1.373 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.4996, allocations: 194.8 kB / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.4996, allocations: 16.44 kB / 1.373 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.4996, allocations: 16 kB / 1.374 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.5001, allocations: 199.2 kB / 1.374 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5001, allocations: 0 / 1.374 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.5001, allocations: 12 kB / 1.374 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.5001, allocations: 8 kB / 1.374 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.5006, allocations: 173.6 kB / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000913/0.5015, allocations: 0.6154 MB / 1.374 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.5018, allocations: 142.6 kB / 1.375 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.5019, allocations: 3.953 kB / 1.375 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.5019, allocations: 46.55 kB / 1.375 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.5019, allocations: 0 / 1.375 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0006287/0.5025, allocations: 237.7 kB / 1.375 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.5026, allocations: 51.41 kB / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.5027, allocations: 186 kB / 1.375 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5028, allocations: 25.7 kB / 1.375 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.5029, allocations: 124.3 kB / 1.375 GB, free: 5.957 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.5029, allocations: 47.52 kB / 1.375 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.505e-06/0.5029, allocations: 3.938 kB / 1.375 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.503, allocations: 330.8 kB / 1.376 GB, free: 5.574 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.5032, allocations: 63.95 kB / 1.376 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.5033, allocations: 58.5 kB / 1.376 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.5035, allocations: 59.91 kB / 1.376 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5035, allocations: 0 / 1.376 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003904/0.5039, allocations: 177.4 kB / 1.376 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.5039, allocations: 11.94 kB / 1.376 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5039, allocations: 3.938 kB / 1.376 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.504, allocations: 7.938 kB / 1.376 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.5041, allocations: 23.98 kB / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5042, allocations: 0 / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.5043, allocations: 19.89 kB / 1.376 GB, free: 5.152 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.5043, allocations: 8 kB / 1.376 GB, free: 5.145 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001105/0.5044, allocations: 135.7 kB / 1.376 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.5045, allocations: 15.8 kB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.5045, allocations: 21.48 kB / 1.376 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5045, allocations: 7.938 kB / 1.376 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5045, allocations: 0 / 1.376 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5045, allocations: 7.984 kB / 1.376 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.5048, allocations: 273.5 kB / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5048, allocations: 0 / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.505, allocations: 27.97 kB / 1.377 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.505, allocations: 0 / 1.377 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.505, allocations: 11.94 kB / 1.377 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.505, allocations: 3.953 kB / 1.377 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.505, allocations: 0 / 1.377 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.5054, allocations: 281.7 kB / 1.377 GB, free: 4.305 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.5055, allocations: 92.92 kB / 1.377 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.5055, allocations: 8 kB / 1.377 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.5057, allocations: 15.98 kB / 1.377 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.5058, allocations: 23.92 kB / 1.377 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.5058, allocations: 12 kB / 1.377 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.553e-05/0.5059, allocations: 136.1 kB / 1.377 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5059, allocations: 0 / 1.377 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002526/0.5061, allocations: 35.91 kB / 1.377 GB, free: 3.969 MB / 0.8698 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.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.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.0001511/0.5063, allocations: 127 kB / 1.377 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003916/0.5067, allocations: 143.9 kB / 1.377 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5067, allocations: 4 kB / 1.377 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.5069, allocations: 87.89 kB / 1.377 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.5071, allocations: 14.22 kB / 1.377 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.5078, allocations: 388.4 kB / 1.378 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.508, allocations: 0.7363 MB / 1.379 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.749e-05/0.5081, allocations: 17.42 kB / 1.379 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.5082, allocations: 15.44 kB / 1.379 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of SimCode: time 3.51e-07/0.5082, allocations: 0 / 1.379 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of Templates: time 0.003959/0.5122, allocations: 1.47 MB / 1.38 GB, free: 0.9805 MB / 0.8698 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