Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.444/2.444, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001225/0.001225, allocations: 187.1 kB / 0.4902 GB, free: 2.285 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.773/1.773, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009109/0.000911, allocations: 104.1 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 20.03 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3277, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.5215, allocations: 151.6 MB / 1.377 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.5219, allocations: 71.95 kB / 1.377 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01097/0.5329, allocations: 4.353 MB / 1.382 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5329, allocations: 7.938 kB / 1.382 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.5329, allocations: 8 kB / 1.382 GB, free: 13.46 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008164/0.5337, allocations: 0.5339 MB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.5338, allocations: 12.56 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.5339, allocations: 31.62 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.5341, allocations: 215.3 kB / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.5342, allocations: 28.66 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.5342, allocations: 36 kB / 1.383 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005607/0.5348, allocations: 294 kB / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.5348, allocations: 0 / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.5348, allocations: 8 kB / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.5348, allocations: 8 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005392/0.5354, allocations: 270.5 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.5367, allocations: 0.866 MB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.5372, allocations: 254.7 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.5373, allocations: 8.391 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.5373, allocations: 34.56 kB / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.5373, allocations: 0 / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.0008737/0.5382, allocations: 353.8 kB / 1.385 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.5382, allocations: 59.39 kB / 1.385 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.5385, allocations: 212.1 kB / 1.385 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.5385, allocations: 29.7 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.5386, allocations: 172.4 kB / 1.385 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.5387, allocations: 78.89 kB / 1.385 GB, free: 9.793 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.5387, allocations: 4 kB / 1.385 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5388, allocations: 330.8 kB / 1.385 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.539, allocations: 91.95 kB / 1.385 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.5392, allocations: 89.47 kB / 1.386 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.5395, allocations: 81.23 kB / 1.386 GB, free: 9.203 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5395, allocations: 4 kB / 1.386 GB, free: 9.199 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000486/0.54, allocations: 265.1 kB / 1.386 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.54, allocations: 7.953 kB / 1.386 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.54, allocations: 0 / 1.386 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.54, allocations: 4 kB / 1.386 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.5403, allocations: 43.97 kB / 1.386 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5403, allocations: 0 / 1.386 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.5404, allocations: 27.83 kB / 1.386 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.5404, allocations: 4 kB / 1.386 GB, free: 8.848 MB / 0.8855 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.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.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 (26): * Single equations (assignments): 26 * 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.0001473/0.5406, allocations: 152 kB / 1.386 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.5406, allocations: 19.72 kB / 1.386 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005954/0.5412, allocations: 291.8 kB / 1.386 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.5413, allocations: 4 kB / 1.386 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5413, allocations: 0 / 1.386 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5413, allocations: 0 / 1.386 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.5417, allocations: 365.2 kB / 1.387 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5417, allocations: 0 / 1.387 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.5419, allocations: 39.97 kB / 1.387 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.5419, allocations: 4 kB / 1.387 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.542, allocations: 7.984 kB / 1.387 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.542, allocations: 11.89 kB / 1.387 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.542, allocations: 0 / 1.387 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005215/0.5425, allocations: 359.6 kB / 1.387 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.5426, allocations: 100.8 kB / 1.387 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.5426, allocations: 3.984 kB / 1.387 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.5428, allocations: 15.98 kB / 1.387 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/0.5428, allocations: 39.84 kB / 1.387 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.5429, allocations: 4 kB / 1.387 GB, free: 7.355 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001247/0.543, allocations: 164.5 kB / 1.387 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.543, allocations: 4 kB / 1.387 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002676/0.5433, allocations: 55.83 kB / 1.388 GB, free: 7.137 MB / 0.8855 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.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.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 (26): * Single equations (assignments): 26 * 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.0001549/0.5434, allocations: 116 kB / 1.388 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004947/0.5439, allocations: 232.4 kB / 1.388 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.544, allocations: 0 / 1.388 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.5442, allocations: 127.8 kB / 1.388 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.5445, allocations: 30.22 kB / 1.388 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008049/0.5453, allocations: 0.5638 MB / 1.389 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.5456, allocations: 0.7718 MB / 1.389 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.5457, allocations: 21.94 kB / 1.389 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.5458, allocations: 27.38 kB / 1.389 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of SimCode: time 3.11e-07/0.5458, allocations: 0 / 1.389 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of Templates: time 0.004732/0.5505, allocations: 1.948 MB / 1.391 GB, free: 3.293 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches