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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 104.1 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001547, allocations: 190.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.605/2.605, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 68.34 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.341, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides): time 0.002821/0.3438, allocations: 1.363 MB / 1.028 GB, free: 0.668 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.3458, allocations: 1.315 MB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.346, allocations: 8 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.838e-05/0.3461, allocations: 35.53 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.3463, allocations: 35.59 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.3469, allocations: 234.3 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.3474, allocations: 380.2 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.3477, allocations: 188.9 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.3478, allocations: 143.5 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.3481, allocations: 183.2 kB / 1.031 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.888e-05/0.3481, allocations: 40 kB / 1.031 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.3483, allocations: 51.92 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.3483, allocations: 79.75 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.3485, allocations: 163.2 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.349, allocations: 470.3 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.349, allocations: 4 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.713e-06/0.349, allocations: 4 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.349, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 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.001162/0.3502, allocations: 0.6332 MB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.3503, allocations: 12.03 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.425e-05/0.3504, allocations: 36.47 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008679/0.3512, allocations: 356.4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.3513, allocations: 28.94 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.3513, allocations: 28.38 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.352, allocations: 316.3 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.352, allocations: 7.938 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.352, allocations: 8 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.352, allocations: 8 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006288/0.3527, allocations: 232.5 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.354, allocations: 0.983 MB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.3545, allocations: 199.8 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.3548, allocations: 110.7 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.3548, allocations: 4 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004591/0.3553, allocations: 182.9 kB / 1.034 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 2.254e-06/0.3553, allocations: 0 / 1.034 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0009658/0.3563, allocations: 309.1 kB / 1.035 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.3564, allocations: 118.7 kB / 1.035 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.3566, allocations: 224 kB / 1.035 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.3566, allocations: 33.7 kB / 1.035 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3568, allocations: 176.2 kB / 1.035 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.3568, allocations: 67.08 kB / 1.035 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.3569, allocations: 77.67 kB / 1.035 GB, free: 8.957 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3571, allocations: 334.8 kB / 1.036 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.3574, allocations: 100.2 kB / 1.036 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.3578, allocations: 188.2 kB / 1.036 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/0.3584, allocations: 296.5 kB / 1.036 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3584, allocations: 0.5 kB / 1.036 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008479/0.3593, allocations: 371.3 kB / 1.037 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.3593, allocations: 37.64 kB / 1.037 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3594, allocations: 7.938 kB / 1.037 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3594, allocations: 8 kB / 1.037 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.3597, allocations: 51.89 kB / 1.037 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3597, allocations: 7.938 kB / 1.037 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.36, allocations: 63.95 kB / 1.037 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.36, allocations: 15.98 kB / 1.037 GB, free: 7.395 MB / 0.8106 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.0001536/0.3602, allocations: 155 kB / 1.037 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.3602, allocations: 19.75 kB / 1.037 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.777e-05/0.3603, allocations: 33.39 kB / 1.037 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3603, allocations: 4 kB / 1.037 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3603, allocations: 0 / 1.037 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3603, allocations: 4 kB / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.3607, allocations: 317.4 kB / 1.037 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3607, allocations: 3.938 kB / 1.037 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.3609, allocations: 43.89 kB / 1.037 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3609, allocations: 3.938 kB / 1.037 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3609, allocations: 8 kB / 1.037 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3609, allocations: 4 kB / 1.037 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.361, allocations: 4 kB / 1.037 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/0.3616, allocations: 271.7 kB / 1.038 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.3617, allocations: 100.8 kB / 1.038 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.3617, allocations: 7.938 kB / 1.038 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.3619, allocations: 19.92 kB / 1.038 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.362, allocations: 35.95 kB / 1.038 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.362, allocations: 8 kB / 1.038 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001242/0.3621, allocations: 145.8 kB / 1.038 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3621, allocations: 4 kB / 1.038 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003208/0.3625, allocations: 67.78 kB / 1.038 GB, free: 6.066 MB / 0.8106 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.0001789/0.3626, allocations: 107.5 kB / 1.038 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007568/0.3634, allocations: 315.6 kB / 1.038 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3634, allocations: 0 / 1.038 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.3638, allocations: 124.1 kB / 1.038 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3641, allocations: 48.83 kB / 1.038 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000856/0.3649, allocations: 454.9 kB / 1.039 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.3653, allocations: 0.7597 MB / 1.04 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000149/0.3655, allocations: 38.27 kB / 1.04 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.3656, allocations: 31.44 kB / 1.04 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.3656, allocations: 0 / 1.04 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of Templates: time 0.007092/0.3727, allocations: 3.13 MB / 1.043 GB, free: 1.07 MB / 0.8106 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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