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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.237/2.237, allocations: 390.5 MB / 398 MB, free: 10.93 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.001346/0.001346, allocations: 175.2 kB / 491.2 MB, free: 1.57 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.756/1.756, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0008754/0.0008754, allocations: 95.89 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.745e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2701, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9124/1.183, allocations: 150.4 MB / 1.359 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/1.183, allocations: 75.98 kB / 1.359 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007804/1.191, allocations: 3.088 MB / 1.362 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/1.191, allocations: 0 / 1.362 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.949e-06/1.191, allocations: 3.75 kB / 1.362 GB, free: 33.04 MB / 0.8386 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.0004996/1.191, allocations: 455.3 kB / 1.363 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/1.191, allocations: 7.625 kB / 1.363 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/1.191, allocations: 22.97 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/1.191, allocations: 195.8 kB / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/1.191, allocations: 7.875 kB / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/1.192, allocations: 7.625 kB / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002125/1.192, allocations: 119.4 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/1.192, allocations: 148.1 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.192, allocations: 4 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/1.192, allocations: 0 / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.192, allocations: 3.906 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007376/1.193, allocations: 0.5569 MB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/1.193, allocations: 112.7 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.308e-05/1.193, allocations: 45.58 kB / 1.364 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/1.193, allocations: 3.875 kB / 1.364 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/1.193, allocations: 38.36 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/1.193, allocations: 0 / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.00025/1.193, allocations: 124.2 kB / 1.364 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/1.193, allocations: 51.41 kB / 1.364 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/1.194, allocations: 156 kB / 1.364 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/1.194, allocations: 25.7 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/1.194, allocations: 131.6 kB / 1.364 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/1.194, allocations: 35.69 kB / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/1.194, allocations: 0 / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/1.194, allocations: 322.6 kB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/1.194, allocations: 37.03 kB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.897e-05/1.194, allocations: 33.12 kB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/1.194, allocations: 26.5 kB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.194, allocations: 4 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001612/1.194, allocations: 118.6 kB / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/1.194, allocations: 11.62 kB / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.194, allocations: 1.172 kB / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.194, allocations: 3.953 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/1.194, allocations: 29.36 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.194, allocations: 3.938 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/1.194, allocations: 18.22 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/1.194, allocations: 1.406 kB / 1.365 GB, free: 31.27 MB / 0.8386 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 () * 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 7.563e-05/1.195, allocations: 106.7 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/1.195, allocations: 15.47 kB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/1.195, allocations: 21.23 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.195, allocations: 7.828 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.195, allocations: 3.938 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.195, allocations: 1.312 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/1.195, allocations: 232.1 kB / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.195, allocations: 4 kB / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/1.195, allocations: 28.41 kB / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.195, allocations: 1.406 kB / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/1.195, allocations: 0 / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.195, allocations: 3.844 kB / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.195, allocations: 0 / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/1.195, allocations: 229.2 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/1.195, allocations: 84.95 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/1.195, allocations: 3.875 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/1.195, allocations: 12.08 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/1.196, allocations: 23.47 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/1.196, allocations: 3.844 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.956e-05/1.196, allocations: 106.9 kB / 1.366 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.196, allocations: 0 / 1.366 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002381/1.196, allocations: 46.73 kB / 1.366 GB, free: 30.63 MB / 0.8386 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 () * 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.00014/1.196, allocations: 107.8 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001801/1.196, allocations: 101.2 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/1.196, allocations: 0 / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/1.196, allocations: 61.78 kB / 1.366 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/1.197, allocations: 8.203 kB / 1.366 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/1.197, allocations: 205 kB / 1.366 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/1.197, allocations: 0.7329 MB / 1.367 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.469e-05/1.197, allocations: 19.02 kB / 1.367 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/1.197, allocations: 17.89 kB / 1.367 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.197, allocations: 0 / 1.367 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of Templates: time 0.003767/1.201, allocations: 1.277 MB / 1.368 GB, free: 29.64 MB / 0.8386 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