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.001937/0.001937, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001753/0.001753, allocations: 161.7 kB / 23.55 MB, free: 0.8828 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.508/1.508, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.877/2.877, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] 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 3.346e-06/3.346e-06, allocations: 0 / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.939e-05/4.274e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides): time 0.004552/0.004595, allocations: 1.268 MB / 0.8121 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003107/0.007702, allocations: 1.343 MB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.00791, allocations: 5.594 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.008061, allocations: 35.53 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.008337, allocations: 36.42 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.009348, allocations: 228.2 kB / 0.8137 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007058/0.01005, allocations: 381.9 kB / 0.8141 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/0.01041, allocations: 121.4 kB / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/0.01086, allocations: 223.5 kB / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.01116, allocations: 123.6 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.01127, allocations: 41.53 kB / 0.8145 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.01142, allocations: 55.94 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.01153, allocations: 75.72 kB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.01176, allocations: 111.7 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009285/0.01269, allocations: 0.5035 MB / 0.8153 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.01269, allocations: 0 / 0.8153 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.833e-06/0.0127, allocations: 0 / 0.8153 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.507e-06/0.01271, allocations: 0 / 0.8153 GB, free: 13.52 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.001876/0.01458, allocations: 0.5633 MB / 0.8158 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.01463, allocations: 9.094 kB / 0.8158 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.01487, allocations: 60.7 kB / 0.8159 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.01642, allocations: 306.3 kB / 0.8162 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/0.01649, allocations: 29.03 kB / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.874e-05/0.01658, allocations: 28.38 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.01783, allocations: 313.6 kB / 0.8165 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.01785, allocations: 192 / 0.8165 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.125e-05/0.0179, allocations: 8.906 kB / 0.8165 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/0.01792, allocations: 12.84 kB / 0.8165 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.01937, allocations: 227.4 kB / 0.8168 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.02237, allocations: 0.8384 MB / 0.8176 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.02348, allocations: 205.4 kB / 0.8178 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006417/0.02412, allocations: 91.55 kB / 0.8179 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-05/0.02418, allocations: 13.14 kB / 0.8179 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000941/0.02512, allocations: 184.5 kB / 0.8181 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 3.306e-06/0.02512, allocations: 2.219 kB / 0.8181 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.00219/0.02731, allocations: 324.7 kB / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/0.02746, allocations: 106.8 kB / 0.8185 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.02798, allocations: 235.9 kB / 0.8187 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/0.02805, allocations: 29.7 kB / 0.8187 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.02834, allocations: 172.6 kB / 0.8189 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.02849, allocations: 67.47 kB / 0.819 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.02876, allocations: 82.94 kB / 0.819 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000338/0.0291, allocations: 330.8 kB / 0.8193 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007736/0.02987, allocations: 130.5 kB / 0.8195 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008358/0.03071, allocations: 219.6 kB / 0.8197 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.03214, allocations: 305.3 kB / 0.82 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.03214, allocations: 1.125 kB / 0.82 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.002068/0.03421, allocations: 410.8 kB / 0.8204 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.03432, allocations: 41.69 kB / 0.8204 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.03434, allocations: 4 kB / 0.8204 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.952e-05/0.03438, allocations: 4 kB / 0.8204 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.03496, allocations: 51.89 kB / 0.8205 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.369e-05/0.035, allocations: 15.86 kB / 0.8205 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/0.03563, allocations: 57.45 kB / 0.8205 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/0.03571, allocations: 19.98 kB / 0.8205 GB, free: 7.77 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.00037/0.03608, allocations: 165.5 kB / 0.8207 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.03621, allocations: 27.86 kB / 0.8207 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.03632, allocations: 33.39 kB / 0.8208 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.03633, allocations: 4 kB / 0.8208 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.03634, allocations: 320 / 0.8208 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.03635, allocations: 11.94 kB / 0.8208 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.03688, allocations: 221.2 kB / 0.821 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.03688, allocations: 0 / 0.821 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.03736, allocations: 35.97 kB / 0.821 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.03736, allocations: 0 / 0.821 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.0374, allocations: 15.92 kB / 0.821 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.03741, allocations: 0 / 0.821 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.03741, allocations: 0 / 0.821 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.03882, allocations: 285.2 kB / 0.8213 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.03888, allocations: 23.92 kB / 0.8213 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/0.03894, allocations: 11.98 kB / 0.8213 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.03926, allocations: 15.98 kB / 0.8214 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.03947, allocations: 39.94 kB / 0.8214 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.03951, allocations: 11.94 kB / 0.8214 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002757/0.03978, allocations: 153.5 kB / 0.8216 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.31e-07/0.03978, allocations: 4 kB / 0.8216 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006766/0.04046, allocations: 63.78 kB / 0.8216 GB, free: 6.613 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.0002983/0.04076, allocations: 112.2 kB / 0.8217 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.04245, allocations: 333.1 kB / 0.822 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.04246, allocations: 0 / 0.822 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006962/0.04315, allocations: 107.9 kB / 0.8222 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006736/0.04383, allocations: 48.83 kB / 0.8222 GB, free: 6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.04546, allocations: 467.8 kB / 0.8226 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.04574, allocations: 155.8 kB / 0.8228 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003111/0.04606, allocations: 34.28 kB / 0.8228 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.04622, allocations: 36.48 kB / 0.8229 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.04622, allocations: 0 / 0.8229 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.01576/0.06198, allocations: 3.254 MB / 0.826 GB, free: 2.125 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.004569052020088]