Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.001404/0.001404, allocations: 81.86 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.00201/0.00201, allocations: 181 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 0.9632/0.9632, 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.967/1.967, allocations: 377.9 MB / 0.624 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 177] 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.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.Overrides") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.716e-05, allocations: 2.312 kB / 0.812 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.002654/0.002681, allocations: 1.287 MB / 0.8133 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.004829, allocations: 1.374 MB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.004992, allocations: 4 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.644e-05/0.005069, allocations: 32.25 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.005235, allocations: 49.05 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.005809, allocations: 228.1 kB / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.006184, allocations: 378.6 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.006409, allocations: 133.3 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.006737, allocations: 235.5 kB / 0.8157 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.006911, allocations: 107.7 kB / 0.8158 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.237e-05/0.006963, allocations: 32 kB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-05/0.00705, allocations: 40.97 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.007104, allocations: 71.73 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.788e-05/0.007202, allocations: 100.6 kB / 0.816 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.007532, allocations: 263 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.007535, allocations: 0 / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.02e-07/0.007536, allocations: 1.031 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.007541, allocations: 0 / 0.8162 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.0008173/0.008358, allocations: 0.6432 MB / 0.8169 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.008402, allocations: 12.03 kB / 0.8169 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.554e-05/0.008497, allocations: 66.64 kB / 0.8169 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.008784, allocations: 240 kB / 0.8172 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.00882, allocations: 25.03 kB / 0.8172 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.008862, allocations: 28.38 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.009254, allocations: 260.4 kB / 0.8175 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.009265, allocations: 192 / 0.8175 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.009286, allocations: 8.375 kB / 0.8175 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.009298, allocations: 9.281 kB / 0.8175 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.009457, allocations: 81.09 kB / 0.8176 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.01046, allocations: 0.9452 MB / 0.8185 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.0107, allocations: 159.1 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.936e-05/0.01078, allocations: 60.27 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.01081, allocations: 8 kB / 0.8187 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.011, allocations: 140.8 kB / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 2.144e-06/0.011, allocations: 0 / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0003627/0.01136, allocations: 179.6 kB / 0.819 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.01142, allocations: 106.8 kB / 0.8191 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.01161, allocations: 290.4 kB / 0.8194 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.01164, allocations: 34.55 kB / 0.8194 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.01176, allocations: 219.4 kB / 0.8196 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.01181, allocations: 60.56 kB / 0.8197 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.01192, allocations: 95.27 kB / 0.8198 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.01208, allocations: 0.5078 MB / 0.8203 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.0122, allocations: 75.31 kB / 0.8204 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005481/0.01274, allocations: 199.2 kB / 0.8205 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.01298, allocations: 246.1 kB / 0.8208 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01299, allocations: 0 / 0.8208 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003982/0.01339, allocations: 305.1 kB / 0.8211 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.01343, allocations: 45.62 kB / 0.8211 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.01344, allocations: 128 / 0.8211 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.01346, allocations: 8 kB / 0.8211 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.01363, allocations: 44.91 kB / 0.8212 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.01363, allocations: 8 kB / 0.8212 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.01381, allocations: 48.94 kB / 0.8212 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.01384, allocations: 27.86 kB / 0.8212 GB, free: 7.559 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.0001222/0.01396, allocations: 179.5 kB / 0.8214 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.014, allocations: 27.86 kB / 0.8214 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.01405, allocations: 29.45 kB / 0.8215 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01405, allocations: 0 / 0.8215 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01406, allocations: 6.75 kB / 0.8215 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01406, allocations: 0 / 0.8215 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.01426, allocations: 193 kB / 0.8217 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.01426, allocations: 0 / 0.8217 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.01439, allocations: 31.92 kB / 0.8217 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.01439, allocations: 4 kB / 0.8217 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.01441, allocations: 7.984 kB / 0.8217 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.01441, allocations: 4.938 kB / 0.8217 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01441, allocations: 0 / 0.8217 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.01469, allocations: 212.5 kB / 0.8219 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.01471, allocations: 15.86 kB / 0.8219 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.01473, allocations: 5.125 kB / 0.8219 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.0148, allocations: 11.98 kB / 0.8219 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.01489, allocations: 36.98 kB / 0.822 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.01491, allocations: 11.98 kB / 0.822 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.885e-05/0.015, allocations: 173.5 kB / 0.8222 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.015, allocations: 1.156 kB / 0.8222 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002995/0.0153, allocations: 67.78 kB / 0.8222 GB, free: 6.508 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.0001674/0.01546, allocations: 119.2 kB / 0.8223 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002983/0.01576, allocations: 233.5 kB / 0.8226 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01576, allocations: 0 / 0.8226 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.01587, allocations: 80.22 kB / 0.8226 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.01614, allocations: 54.8 kB / 0.8227 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006352/0.01677, allocations: 450.8 kB / 0.8231 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.01683, allocations: 84.59 kB / 0.8232 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001258/0.01696, allocations: 38.27 kB / 0.8232 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.01714, allocations: 138.2 kB / 0.8234 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of SimCode: time 7.62e-07/0.01714, allocations: 0 / 0.8234 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of Templates: time 0.007021/0.02416, allocations: 3.584 MB / 0.8269 GB, free: 1.766 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.279721142724156]