Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.163/2.163, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.0009881/0.0009882, allocations: 180.1 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 221.3 MB / 0.7915 GB, free: 5.355 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.001107/0.001107, allocations: 95.89 kB / 0.9317 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.379e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.341, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.411, allocations: 150.8 MB / 1.366 GB, free: 3.266 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/1.411, allocations: 74.69 kB / 1.366 GB, free: 3.223 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006225/1.417, allocations: 2.432 MB / 1.369 GB, free: 1.117 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.136e-06/1.417, allocations: 0 / 1.369 GB, free: 1.117 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.584e-06/1.417, allocations: 3.938 kB / 1.369 GB, free: 1.113 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005323/1.418, allocations: 421.8 kB / 1.369 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.418, allocations: 8.031 kB / 1.369 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/1.418, allocations: 15.81 kB / 1.369 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/1.418, allocations: 198 kB / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/1.418, allocations: 7.781 kB / 1.369 GB, free: 416 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/1.418, allocations: 15.25 kB / 1.369 GB, free: 404 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/1.419, allocations: 123.9 kB / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.419, allocations: 0 / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/1.419, allocations: 13.81 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.419, allocations: 4 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/1.419, allocations: 91.34 kB / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007936/1.42, allocations: 0.4909 MB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/1.42, allocations: 95.66 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.325e-05/1.42, allocations: 41.05 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/1.42, allocations: 0 / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/1.42, allocations: 34.55 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 2.635e-06/1.42, allocations: 7.984 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002584/1.42, allocations: 106.9 kB / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/1.42, allocations: 55.36 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/1.421, allocations: 157.9 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/1.421, allocations: 25.7 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/1.421, allocations: 114.6 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/1.421, allocations: 33.92 kB / 1.371 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/1.421, allocations: 0 / 1.371 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.421, allocations: 326.6 kB / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.393e-05/1.421, allocations: 41.05 kB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.964e-05/1.421, allocations: 30.5 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/1.421, allocations: 20.98 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.421, allocations: 0 / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001702/1.421, allocations: 101.1 kB / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.421, allocations: 4 kB / 1.371 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/1.421, allocations: 0 / 1.371 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.421, allocations: 0 / 1.371 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/1.421, allocations: 35.09 kB / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/1.421, allocations: 0 / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/1.422, allocations: 31.72 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/1.422, allocations: 0 / 1.371 GB, free: 14.62 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.01e-05/1.422, allocations: 110.2 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/1.422, allocations: 7.906 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/1.422, allocations: 18.69 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.422, allocations: 4 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.422, allocations: 7.984 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/1.422, allocations: 0 / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/1.422, allocations: 240.2 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.422, allocations: 0 / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/1.422, allocations: 19.98 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.422, allocations: 3.984 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/1.422, allocations: 4 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/1.422, allocations: 0 / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.422, allocations: 4 kB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/1.423, allocations: 218.4 kB / 1.372 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/1.423, allocations: 84.95 kB / 1.372 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/1.423, allocations: 4 kB / 1.372 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/1.423, allocations: 15.8 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/1.423, allocations: 19.09 kB / 1.372 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/1.423, allocations: 4 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001295/1.423, allocations: 122 kB / 1.372 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.423, allocations: 0 / 1.372 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002282/1.423, allocations: 27.28 kB / 1.372 GB, free: 13.73 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001659/1.423, allocations: 114.1 kB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001865/1.424, allocations: 80.52 kB / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.424, allocations: 0 / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/1.424, allocations: 56.8 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/1.424, allocations: 15.52 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/1.424, allocations: 160.7 kB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/1.425, allocations: 0.7234 MB / 1.373 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.18e-05/1.425, allocations: 16.55 kB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/1.425, allocations: 18.88 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.425, allocations: 0 / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of Templates: time 0.003968/1.429, allocations: 1.237 MB / 1.374 GB, free: 11.39 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches