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.001221/0.001221, allocations: 83.58 kB / 20.45 MB, free: 4.113 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.001311/0.001311, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 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.011/1.011, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.903/1.903, allocations: 377.8 MB / 0.6236 GB, free: 8.484 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.653e-06/1.653e-06, allocations: 0 / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.958e-05, allocations: 3.297 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides): time 0.001851/0.00187, allocations: 1.34 MB / 0.8129 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.003309, allocations: 1.37 MB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.003421, allocations: 4.875 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.184e-05/0.003483, allocations: 35.53 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.003603, allocations: 44.31 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.004082, allocations: 229.1 kB / 0.8145 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.004379, allocations: 372.2 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.004719, allocations: 126.9 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.004925, allocations: 219.6 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.005062, allocations: 127.6 kB / 0.8153 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.005108, allocations: 40 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.442e-05/0.005193, allocations: 56.47 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.005245, allocations: 73.12 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.033e-05/0.005335, allocations: 115.7 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.005628, allocations: 294.9 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.00563, allocations: 3.938 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005631, allocations: 1.75 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.005636, allocations: 0 / 0.8159 GB, free: 13.25 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.0006876/0.006323, allocations: 0.642 MB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.006358, allocations: 8.938 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.006443, allocations: 60.7 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.006985, allocations: 278.1 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.007026, allocations: 34.28 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.007082, allocations: 28.38 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004236/0.007505, allocations: 269.4 kB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.007519, allocations: 192 / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.00754, allocations: 12.38 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.007553, allocations: 16.06 kB / 0.8172 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.00773, allocations: 109.1 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008362/0.008566, allocations: 0.9766 MB / 0.8183 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.008783, allocations: 169.8 kB / 0.8184 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/0.008863, allocations: 60.52 kB / 0.8185 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.008894, allocations: 15.97 kB / 0.8185 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.009058, allocations: 145 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.442e-06/0.009059, allocations: 0.8125 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0003386/0.009398, allocations: 202.4 kB / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.009442, allocations: 112 kB / 0.8189 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.009604, allocations: 286.5 kB / 0.8192 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.009628, allocations: 33.7 kB / 0.8192 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.009726, allocations: 223.3 kB / 0.8194 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.009767, allocations: 60.33 kB / 0.8195 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.906e-05/0.009866, allocations: 91.28 kB / 0.8196 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.009981, allocations: 0.5023 MB / 0.8201 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.0101, allocations: 85.94 kB / 0.8202 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.01024, allocations: 207.3 kB / 0.8204 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.01045, allocations: 254.7 kB / 0.8206 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.01045, allocations: 0 / 0.8206 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003699/0.01082, allocations: 339.4 kB / 0.8209 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.01086, allocations: 37.69 kB / 0.821 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.01086, allocations: 5.094 kB / 0.821 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.01088, allocations: 4 kB / 0.821 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.01103, allocations: 47.91 kB / 0.821 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.01103, allocations: 8.594 kB / 0.821 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.01116, allocations: 44.58 kB / 0.8211 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.01118, allocations: 15.84 kB / 0.8211 GB, free: 7.5 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,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.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.0001076/0.01129, allocations: 189.5 kB / 0.8213 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.01132, allocations: 35.8 kB / 0.8213 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.01136, allocations: 25.45 kB / 0.8213 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.01136, allocations: 4 kB / 0.8213 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01137, allocations: 0 / 0.8213 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01137, allocations: 3.938 kB / 0.8213 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.01154, allocations: 225.8 kB / 0.8215 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01154, allocations: 0 / 0.8215 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.29e-05/0.01162, allocations: 27.98 kB / 0.8216 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01163, allocations: 9.016 kB / 0.8216 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.01164, allocations: 4 kB / 0.8216 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.01164, allocations: 4 kB / 0.8216 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01164, allocations: 5.031 kB / 0.8216 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.01203, allocations: 218.2 kB / 0.8218 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.01205, allocations: 19.86 kB / 0.8218 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.01207, allocations: 8 kB / 0.8218 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.136e-05/0.01212, allocations: 13.05 kB / 0.8218 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.0122, allocations: 35.95 kB / 0.8219 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.01221, allocations: 12.77 kB / 0.8219 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.166e-05/0.01229, allocations: 185.5 kB / 0.8221 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01229, allocations: 2.969 kB / 0.8221 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002079/0.0125, allocations: 67.78 kB / 0.8221 GB, free: 6.367 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.0001138/0.01261, allocations: 119.1 kB / 0.8222 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003009/0.01291, allocations: 250.6 kB / 0.8225 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01292, allocations: 4 kB / 0.8225 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-05/0.01301, allocations: 76.64 kB / 0.8226 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.01322, allocations: 52.95 kB / 0.8226 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.01379, allocations: 458.2 kB / 0.823 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.254e-05/0.01384, allocations: 92.58 kB / 0.8231 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.296e-05/0.01393, allocations: 34.28 kB / 0.8232 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.014, allocations: 36.48 kB / 0.8232 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/0.014, allocations: 0 / 0.8232 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.005472/0.01947, allocations: 3.258 MB / 0.8264 GB, free: 2.027 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.371813470963389]