Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.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.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001131/0.001131, allocations: 173 kB / 492.3 MB, free: 0.625 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.719/1.719, allocations: 221.3 MB / 0.7872 GB, free: 12.9 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.0009532/0.0009534, allocations: 102.2 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.382e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3214, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.343, allocations: 151.1 MB / 1.36 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/1.344, allocations: 82.33 kB / 1.36 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0141/1.358, allocations: 5.169 MB / 1.365 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.335e-06/1.358, allocations: 0 / 1.365 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.581e-05/1.358, allocations: 7.688 kB / 1.365 GB, free: 34.34 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009969/1.359, allocations: 0.5758 MB / 1.366 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.359, allocations: 7.719 kB / 1.366 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.817e-05/1.359, allocations: 38.78 kB / 1.366 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/1.359, allocations: 212.2 kB / 1.366 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/1.359, allocations: 25.97 kB / 1.366 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/1.359, allocations: 29.06 kB / 1.366 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/1.36, allocations: 291.7 kB / 1.366 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.36, allocations: 7.875 kB / 1.366 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/1.36, allocations: 10.8 kB / 1.366 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/1.36, allocations: 7.625 kB / 1.366 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/1.36, allocations: 191.5 kB / 1.366 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/1.361, allocations: 0.9696 MB / 1.367 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/1.362, allocations: 211.5 kB / 1.368 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/1.362, allocations: 87.33 kB / 1.368 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/1.362, allocations: 11.48 kB / 1.368 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/1.362, allocations: 170.3 kB / 1.368 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.854e-06/1.362, allocations: 3.938 kB / 1.368 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0003992/1.363, allocations: 208.7 kB / 1.368 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/1.363, allocations: 110.7 kB / 1.368 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/1.363, allocations: 227.3 kB / 1.368 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/1.363, allocations: 32.8 kB / 1.368 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/1.363, allocations: 162.9 kB / 1.369 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/1.363, allocations: 62.45 kB / 1.369 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/1.363, allocations: 7.188 kB / 1.369 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/1.363, allocations: 331.9 kB / 1.369 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/1.363, allocations: 86.66 kB / 1.369 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/1.363, allocations: 126.3 kB / 1.369 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/1.364, allocations: 102.7 kB / 1.369 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.364, allocations: 0 / 1.369 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004388/1.364, allocations: 294 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/1.364, allocations: 40.14 kB / 1.37 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.364, allocations: 3.812 kB / 1.37 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.364, allocations: 0 / 1.37 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/1.364, allocations: 65.02 kB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.364, allocations: 3.969 kB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/1.365, allocations: 93.3 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/1.365, allocations: 10.91 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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.0001123/1.365, allocations: 124.9 kB / 1.37 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/1.365, allocations: 23.25 kB / 1.37 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/1.365, allocations: 32.48 kB / 1.37 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.365, allocations: 3.781 kB / 1.37 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.365, allocations: 0 / 1.37 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.365, allocations: 3 kB / 1.37 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/1.365, allocations: 349.9 kB / 1.37 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.365, allocations: 3.875 kB / 1.37 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/1.366, allocations: 65.86 kB / 1.37 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/1.366, allocations: 128 / 1.37 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/1.366, allocations: 14.42 kB / 1.37 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.366, allocations: 0 / 1.37 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.366, allocations: 0 / 1.37 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/1.366, allocations: 278.9 kB / 1.371 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/1.366, allocations: 96.67 kB / 1.371 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/1.366, allocations: 10.19 kB / 1.371 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/1.366, allocations: 42.33 kB / 1.371 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.367, allocations: 42.08 kB / 1.371 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/1.367, allocations: 7.812 kB / 1.371 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001321/1.367, allocations: 170.1 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.367, allocations: 0 / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00028/1.367, allocations: 75.05 kB / 1.371 GB, free: 31.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,heaOff.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001888/1.367, allocations: 126 kB / 1.371 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003944/1.368, allocations: 269.6 kB / 1.371 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.368, allocations: 0 / 1.371 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/1.368, allocations: 121.5 kB / 1.372 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/1.368, allocations: 29.5 kB / 1.372 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006072/1.369, allocations: 332.6 kB / 1.372 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/1.369, allocations: 0.7674 MB / 1.373 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001253/1.369, allocations: 26.02 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.329e-05/1.369, allocations: 27.12 kB / 1.373 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of SimCode: time 6.12e-07/1.369, allocations: 0 / 1.373 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.006323/1.376, allocations: 3.221 MB / 1.376 GB, free: 29.95 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches