Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.SeriesFanVVF.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_9_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=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002946/0.002946, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.527/1.527, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.57/2.57, allocations: 390.2 MB / 0.6647 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 59.91 kB / 0.8126 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8391/0.8406, allocations: 140.4 MB / 0.9496 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.00307/0.8437, allocations: 1.333 MB / 0.9509 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.8457, allocations: 1.314 MB / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.8459, allocations: 5.125 kB / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.014e-05/0.846, allocations: 31.55 kB / 0.9523 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.8462, allocations: 42.16 kB / 0.9523 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006722/0.8468, allocations: 218.2 kB / 0.9525 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.8473, allocations: 384.1 kB / 0.9529 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.8477, allocations: 177.2 kB / 0.953 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.8479, allocations: 145.6 kB / 0.9532 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.848, allocations: 165.3 kB / 0.9533 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.771e-05/0.8481, allocations: 40.22 kB / 0.9534 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.8483, allocations: 65.33 kB / 0.9534 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.8483, allocations: 78.38 kB / 0.9535 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.8485, allocations: 165.4 kB / 0.9537 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.849, allocations: 462.3 kB / 0.9541 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.849, allocations: 0 / 0.9541 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.715e-06/0.849, allocations: 0 / 0.9541 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.849, allocations: 0 / 0.9541 GB, free: 5.602 MB / 0.7169 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.001164/0.8502, allocations: 0.6325 MB / 0.9547 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.8502, allocations: 10.28 kB / 0.9547 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.8504, allocations: 34.34 kB / 0.9548 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008596/0.8512, allocations: 359.8 kB / 0.9551 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.8513, allocations: 31 kB / 0.9551 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.8513, allocations: 34.38 kB / 0.9552 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006973/0.852, allocations: 312.6 kB / 0.9555 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.8521, allocations: 0 / 0.9555 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.8521, allocations: 10.56 kB / 0.9555 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.8521, allocations: 11.09 kB / 0.9555 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006465/0.8528, allocations: 221.7 kB / 0.9557 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.854, allocations: 0.9913 MB / 0.9567 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.8545, allocations: 215.5 kB / 0.9569 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.8548, allocations: 105.5 kB / 0.957 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.8549, allocations: 7.75 kB / 0.957 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005007/0.8554, allocations: 177.9 kB / 0.9572 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.933e-06/0.8554, allocations: 0 / 0.9572 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.001074/0.8565, allocations: 313.3 kB / 0.9575 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.8565, allocations: 114.5 kB / 0.9576 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.8568, allocations: 223.5 kB / 0.9578 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.8568, allocations: 36.44 kB / 0.9578 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.8569, allocations: 172.8 kB / 0.958 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.857, allocations: 63.34 kB / 0.958 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.8571, allocations: 80.05 kB / 0.9581 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.8573, allocations: 332.3 kB / 0.9584 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.8576, allocations: 101.8 kB / 0.9585 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.858, allocations: 190.1 kB / 0.9587 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007357/0.8587, allocations: 300.5 kB / 0.959 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.8588, allocations: 1.281 kB / 0.959 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001016/0.8598, allocations: 376.4 kB / 0.9594 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.024e-05/0.8599, allocations: 33.48 kB / 0.9594 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.8599, allocations: 6.766 kB / 0.9594 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.8599, allocations: 4.438 kB / 0.9594 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.8603, allocations: 55.69 kB / 0.9595 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.8603, allocations: 8.047 kB / 0.9595 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.8607, allocations: 60.08 kB / 0.9595 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.8607, allocations: 13.06 kB / 0.9595 GB, free: 1.254 MB / 0.7169 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.0001863/0.8609, allocations: 158.5 kB / 0.9597 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.861, allocations: 25 kB / 0.9597 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.396e-05/0.861, allocations: 30.8 kB / 0.9597 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.8611, allocations: 2.969 kB / 0.9597 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.8611, allocations: 1.031 kB / 0.9597 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.8611, allocations: 5.062 kB / 0.9597 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.8615, allocations: 322.4 kB / 0.9601 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.8615, allocations: 5.062 kB / 0.9601 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.8617, allocations: 42.72 kB / 0.9601 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.8618, allocations: 2.219 kB / 0.9601 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.8618, allocations: 6.234 kB / 0.9601 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.8618, allocations: 1.312 kB / 0.9601 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8618, allocations: 0.9688 kB / 0.9601 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007466/0.8626, allocations: 274.7 kB / 0.9604 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.8626, allocations: 108.2 kB / 0.9605 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.8627, allocations: 2.188 kB / 0.9605 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.8628, allocations: 24.62 kB / 0.9605 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.863, allocations: 40.48 kB / 0.9605 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.863, allocations: 6.094 kB / 0.9605 GB, free: 412 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001524/0.8632, allocations: 148.7 kB / 0.9607 GB, free: 300 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8632, allocations: 0 / 0.9607 GB, free: 300 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004128/0.8636, allocations: 65.16 kB / 0.9607 GB, free: 280 kB / 0.7169 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.0002681/0.8639, allocations: 122.5 kB / 0.9609 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.8649, allocations: 313.5 kB / 0.9612 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8649, allocations: 4.125 kB / 0.9612 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004171/0.8653, allocations: 116.9 kB / 0.9613 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.8657, allocations: 37.77 kB / 0.9613 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.8669, allocations: 460.7 kB / 0.9618 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.8674, allocations: 0.7631 MB / 0.9625 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.8677, allocations: 43.53 kB / 0.9625 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.393e-05/0.8678, allocations: 33.23 kB / 0.9626 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.8678, allocations: 0 / 0.9626 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.00906/0.8768, allocations: 3.122 MB / 0.9656 GB, free: 13.29 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches