Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.036/1.036, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.888/1.888, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8121 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.56e-05, allocations: 5.531 kB / 0.8121 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides): time 0.005152/0.005168, allocations: 1.28 MB / 0.8133 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.006741, allocations: 1.362 MB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.00686, allocations: 4 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.709e-05/0.006927, allocations: 35.53 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.007075, allocations: 53 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.01058, allocations: 224.2 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.01093, allocations: 380.7 kB / 0.8153 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.01114, allocations: 130.8 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.01144, allocations: 231.5 kB / 0.8157 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.0116, allocations: 116.2 kB / 0.8158 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.01165, allocations: 37.31 kB / 0.8158 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/0.01173, allocations: 39.98 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.01178, allocations: 67.77 kB / 0.8159 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.819e-05/0.01187, allocations: 95.73 kB / 0.816 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.01215, allocations: 268.1 kB / 0.8162 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01216, allocations: 4 kB / 0.8163 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.01216, allocations: 0 / 0.8163 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.01216, allocations: 1.375 kB / 0.8163 GB, free: 13.11 MB / 0.7761 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.0007194/0.01288, allocations: 0.6419 MB / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.01292, allocations: 9.406 kB / 0.8169 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.49e-05/0.013, allocations: 60.7 kB / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003278/0.01628, allocations: 244 kB / 0.8172 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.01631, allocations: 21.59 kB / 0.8172 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.01635, allocations: 36.38 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.01669, allocations: 248.7 kB / 0.8175 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.01671, allocations: 8.125 kB / 0.8175 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.01673, allocations: 12.38 kB / 0.8175 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.01674, allocations: 10.84 kB / 0.8175 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.01688, allocations: 85.2 kB / 0.8176 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008605/0.01774, allocations: 0.9382 MB / 0.8185 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.01794, allocations: 157.2 kB / 0.8186 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.064e-05/0.01801, allocations: 61.03 kB / 0.8187 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.01804, allocations: 8 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.01821, allocations: 140.6 kB / 0.8188 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.01821, allocations: 3.938 kB / 0.8189 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0003256/0.01853, allocations: 178.9 kB / 0.819 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.01858, allocations: 107.6 kB / 0.8191 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.01875, allocations: 282.4 kB / 0.8194 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.01877, allocations: 34.92 kB / 0.8194 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.01888, allocations: 227.3 kB / 0.8196 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.01893, allocations: 67.45 kB / 0.8197 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.01904, allocations: 83.28 kB / 0.8198 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00315/0.02219, allocations: 0.5086 MB / 0.8203 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.02229, allocations: 79.28 kB / 0.8204 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.02245, allocations: 195.1 kB / 0.8205 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.02268, allocations: 246.4 kB / 0.8208 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.02268, allocations: 0 / 0.8208 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003857/0.02307, allocations: 312.4 kB / 0.8211 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.02311, allocations: 33.7 kB / 0.8211 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.02311, allocations: 0 / 0.8211 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.02313, allocations: 4.969 kB / 0.8211 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.02328, allocations: 51.97 kB / 0.8212 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.02329, allocations: 8.438 kB / 0.8212 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.02345, allocations: 53.25 kB / 0.8212 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.02348, allocations: 19.92 kB / 0.8212 GB, free: 7.57 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,ove.conInt3.y,ove.conInt4.y,ove.logSwi1.y,ove.conInt5.y,ove.conInt6.y,ove.con.y,ove.con1.y,terFan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.02359, allocations: 174.8 kB / 0.8214 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.02363, allocations: 31.86 kB / 0.8214 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.02367, allocations: 25.45 kB / 0.8215 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.02367, allocations: 4.781 kB / 0.8215 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.02367, allocations: 0 / 0.8215 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.02368, allocations: 4.656 kB / 0.8215 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.02386, allocations: 193 kB / 0.8217 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02386, allocations: 0.6562 kB / 0.8217 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.02397, allocations: 35.91 kB / 0.8217 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.02397, allocations: 7.156 kB / 0.8217 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.02399, allocations: 4 kB / 0.8217 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.02399, allocations: 4 kB / 0.8217 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02399, allocations: 0 / 0.8217 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.02424, allocations: 209.7 kB / 0.8219 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.02426, allocations: 19.8 kB / 0.8219 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.02428, allocations: 9.875 kB / 0.8219 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.02435, allocations: 7.984 kB / 0.8219 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.02444, allocations: 47.92 kB / 0.822 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.02445, allocations: 4 kB / 0.822 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.361e-05/0.02454, allocations: 177.5 kB / 0.8222 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02454, allocations: 2.375 kB / 0.8222 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002786/0.02482, allocations: 63.78 kB / 0.8222 GB, free: 6.516 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.02497, allocations: 115.2 kB / 0.8223 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003312/0.02828, allocations: 238.7 kB / 0.8226 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02828, allocations: 0.9375 kB / 0.8226 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.02839, allocations: 75.52 kB / 0.8226 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.02864, allocations: 61.12 kB / 0.8227 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.02921, allocations: 445.4 kB / 0.8231 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.542e-05/0.02927, allocations: 88.58 kB / 0.8232 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.02938, allocations: 34.3 kB / 0.8232 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.02956, allocations: 134.2 kB / 0.8234 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of SimCode: time 7.52e-07/0.02956, allocations: 0 / 0.8234 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of Templates: time 0.01245/0.04202, allocations: 3.582 MB / 0.8269 GB, free: 1.77 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.157672074623406]