Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.627/2.627, allocations: 390.5 MB / 398 MB, free: 11.03 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.001666/0.001666, allocations: 183.7 kB / 491.2 MB, free: 1.637 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.607/1.607, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001004/0.001004, allocations: 95.45 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.546e-05/1.547e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2672, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8217/1.089, allocations: 150.1 MB / 1.359 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001621/1.089, allocations: 72.95 kB / 1.359 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006079/1.095, allocations: 2.415 MB / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.232e-06/1.095, allocations: 0 / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.145e-06/1.095, allocations: 3.5 kB / 1.361 GB, free: 33.13 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004333/1.096, allocations: 425.2 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/1.096, allocations: 7.844 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/1.096, allocations: 15.47 kB / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/1.096, allocations: 188.4 kB / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/1.096, allocations: 3.906 kB / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/1.096, allocations: 7.688 kB / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001681/1.096, allocations: 82.14 kB / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/1.096, allocations: 112 kB / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/1.096, allocations: 7.938 kB / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/1.096, allocations: 0 / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.096, allocations: 9.422 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/1.097, allocations: 448 kB / 1.363 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/1.097, allocations: 93.14 kB / 1.363 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/1.097, allocations: 38.97 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/1.097, allocations: 3.516 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/1.097, allocations: 39.86 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/1.097, allocations: 0 / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002143/1.098, allocations: 100.2 kB / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/1.098, allocations: 59.22 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/1.098, allocations: 130 kB / 1.363 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/1.098, allocations: 25.7 kB / 1.363 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/1.098, allocations: 111.5 kB / 1.363 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/1.098, allocations: 32.3 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/1.098, allocations: 3.938 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.098, allocations: 327.8 kB / 1.364 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.356e-05/1.098, allocations: 26.03 kB / 1.364 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/1.098, allocations: 23.67 kB / 1.364 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/1.098, allocations: 22.34 kB / 1.364 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.098, allocations: 0 / 1.364 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001324/1.098, allocations: 93.89 kB / 1.364 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.098, allocations: 11.69 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.098, allocations: 3.938 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/1.098, allocations: 0 / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/1.098, allocations: 33.55 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/1.098, allocations: 0 / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.025e-05/1.099, allocations: 14.94 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/1.099, allocations: 3.875 kB / 1.364 GB, free: 31.42 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 7.725e-05/1.099, allocations: 107.9 kB / 1.364 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/1.099, allocations: 11.38 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/1.099, allocations: 17.36 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.099, allocations: 3.844 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.099, allocations: 0.6875 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.099, allocations: 1.781 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/1.099, allocations: 203.6 kB / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.099, allocations: 0 / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/1.099, allocations: 32.17 kB / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.099, allocations: 0 / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/1.099, allocations: 5.625 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.099, allocations: 4 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.099, allocations: 0 / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/1.099, allocations: 202.3 kB / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/1.099, allocations: 89.59 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/1.099, allocations: 3.844 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/1.1, allocations: 10.92 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/1.1, allocations: 18.06 kB / 1.364 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/1.1, allocations: 5.719 kB / 1.364 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.639e-05/1.1, allocations: 105 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.1, allocations: 0 / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002319/1.1, allocations: 22.97 kB / 1.365 GB, free: 30.79 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.0001296/1.1, allocations: 107.5 kB / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001473/1.1, allocations: 75.3 kB / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.1, allocations: 4 kB / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/1.1, allocations: 46.42 kB / 1.365 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/1.1, allocations: 11.39 kB / 1.365 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/1.101, allocations: 156.5 kB / 1.365 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/1.101, allocations: 0.7279 MB / 1.366 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.967e-05/1.101, allocations: 10.05 kB / 1.366 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/1.101, allocations: 16.61 kB / 1.366 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.101, allocations: 3.938 kB / 1.366 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of Templates: time 0.003474/1.105, allocations: 1.089 MB / 1.367 GB, free: 29.81 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches