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.Overrides.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.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.222/2.222, allocations: 390.5 MB / 398 MB, free: 10.9 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.001117/0.001117, allocations: 180.3 kB / 491.2 MB, free: 1.555 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.531/1.531, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009218/0.0009219, allocations: 91.84 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.426e-05/1.457e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.311, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.339, allocations: 151.2 MB / 1.36 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/1.339, allocations: 75.09 kB / 1.36 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01526/1.355, allocations: 5.145 MB / 1.365 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.284e-06/1.355, allocations: 0 / 1.365 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.511e-05/1.355, allocations: 3.906 kB / 1.365 GB, free: 32.98 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.001293/1.356, allocations: 0.5811 MB / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/1.356, allocations: 11.69 kB / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/1.356, allocations: 34.69 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/1.356, allocations: 205.9 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/1.357, allocations: 15.78 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/1.357, allocations: 19.31 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004387/1.357, allocations: 171.4 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/1.358, allocations: 251.5 kB / 1.366 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/1.358, allocations: 0 / 1.366 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/1.358, allocations: 0 / 1.366 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/1.358, allocations: 7.75 kB / 1.366 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/1.359, allocations: 0.8966 MB / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/1.359, allocations: 205.7 kB / 1.367 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/1.36, allocations: 84.38 kB / 1.368 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/1.36, allocations: 3.938 kB / 1.368 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/1.36, allocations: 170.1 kB / 1.368 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.943e-06/1.36, allocations: 4 kB / 1.368 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0004125/1.36, allocations: 187.4 kB / 1.368 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/1.36, allocations: 117.5 kB / 1.368 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/1.361, allocations: 173.4 kB / 1.368 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/1.361, allocations: 29.61 kB / 1.368 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/1.361, allocations: 166 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/1.361, allocations: 57.8 kB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/1.361, allocations: 3.812 kB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.361, allocations: 337.3 kB / 1.369 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/1.361, allocations: 74.41 kB / 1.369 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/1.361, allocations: 112.8 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/1.362, allocations: 78.78 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.362, allocations: 4 kB / 1.369 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005167/1.362, allocations: 262.5 kB / 1.369 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/1.362, allocations: 32.48 kB / 1.369 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/1.362, allocations: 3.875 kB / 1.369 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.362, allocations: 3.938 kB / 1.369 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/1.363, allocations: 67.67 kB / 1.369 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.363, allocations: 3.938 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/1.363, allocations: 83.23 kB / 1.369 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/1.363, allocations: 14.28 kB / 1.369 GB, free: 30.63 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.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3) * 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.0001163/1.363, allocations: 110.2 kB / 1.37 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/1.363, allocations: 15.53 kB / 1.37 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.675e-05/1.363, allocations: 23.11 kB / 1.37 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/1.363, allocations: 3.875 kB / 1.37 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.363, allocations: 4 kB / 1.37 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/1.363, allocations: 7.047 kB / 1.37 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/1.363, allocations: 297.2 kB / 1.37 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.364, allocations: 0 / 1.37 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/1.364, allocations: 64.12 kB / 1.37 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/1.364, allocations: 4 kB / 1.37 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/1.364, allocations: 3.875 kB / 1.37 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.364, allocations: 0 / 1.37 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.364, allocations: 3.812 kB / 1.37 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/1.364, allocations: 251.5 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/1.364, allocations: 99.86 kB / 1.37 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/1.364, allocations: 7.828 kB / 1.37 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/1.365, allocations: 35.94 kB / 1.37 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.365, allocations: 49.69 kB / 1.37 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/1.365, allocations: 7.906 kB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001003/1.365, allocations: 133.5 kB / 1.371 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.365, allocations: 0 / 1.371 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003338/1.365, allocations: 62 kB / 1.371 GB, free: 29.98 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.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3) * 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.0002361/1.365, allocations: 122.2 kB / 1.371 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003905/1.366, allocations: 250.7 kB / 1.371 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.366, allocations: 4.125 kB / 1.371 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/1.366, allocations: 115.7 kB / 1.371 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/1.366, allocations: 27.83 kB / 1.371 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007117/1.367, allocations: 318.6 kB / 1.371 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/1.367, allocations: 0.7614 MB / 1.372 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001432/1.367, allocations: 33.44 kB / 1.372 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/1.368, allocations: 21.83 kB / 1.372 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.368, allocations: 0 / 1.372 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of Templates: time 0.006972/1.375, allocations: 2.854 MB / 1.375 GB, free: 28.77 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches