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.001421/0.001421, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001687/0.001688, allocations: 193.2 kB / 16.14 MB, free: 6.711 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.453 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.502/2.502, allocations: 390.2 MB / 0.6642 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 0.8119 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9024/0.9038, allocations: 140.4 MB / 0.949 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.002803/0.9067, allocations: 1.393 MB / 0.9503 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.9083, allocations: 1.302 MB / 0.9516 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.9084, allocations: 4.125 kB / 0.9516 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.357e-05/0.9085, allocations: 19.73 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.9086, allocations: 26.53 kB / 0.9517 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.9091, allocations: 201.6 kB / 0.9518 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.9095, allocations: 343.5 kB / 0.9522 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.9098, allocations: 169.6 kB / 0.9523 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.9099, allocations: 133.8 kB / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.9101, allocations: 153.8 kB / 0.9526 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.9102, allocations: 21.75 kB / 0.9526 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.9103, allocations: 36.3 kB / 0.9527 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.9103, allocations: 65.98 kB / 0.9527 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.9105, allocations: 139.6 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.9109, allocations: 447.9 kB / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.9109, allocations: 0 / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.911, allocations: 0 / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.911, allocations: 5.344 kB / 0.9533 GB, free: 5.809 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.001087/0.9121, allocations: 0.6342 MB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.9121, allocations: 9.312 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.9122, allocations: 34.84 kB / 0.954 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/0.9131, allocations: 363.8 kB / 0.9543 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.9131, allocations: 26.88 kB / 0.9543 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.9132, allocations: 30 kB / 0.9544 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006631/0.9139, allocations: 316.7 kB / 0.9547 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.9139, allocations: 0 / 0.9547 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.9139, allocations: 15.17 kB / 0.9547 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.9139, allocations: 7.688 kB / 0.9547 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006526/0.9146, allocations: 226.8 kB / 0.9549 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.9158, allocations: 0.9873 MB / 0.9559 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.9162, allocations: 216.5 kB / 0.9561 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.9165, allocations: 108.1 kB / 0.9562 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.9165, allocations: 7.781 kB / 0.9562 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004576/0.917, allocations: 183 kB / 0.9563 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.917, allocations: 0 / 0.9563 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.001003/0.918, allocations: 309.2 kB / 0.9566 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.9181, allocations: 106.7 kB / 0.9567 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.9183, allocations: 230.7 kB / 0.957 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.9183, allocations: 33.83 kB / 0.957 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.9184, allocations: 176.8 kB / 0.9572 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.9185, allocations: 71.28 kB / 0.9572 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.9186, allocations: 80.05 kB / 0.9573 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.9187, allocations: 330.9 kB / 0.9576 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.919, allocations: 97.64 kB / 0.9577 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.9193, allocations: 186.8 kB / 0.9579 GB, free: 2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/0.9199, allocations: 301 kB / 0.9582 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.92, allocations: 1.125 kB / 0.9582 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008488/0.9208, allocations: 376.2 kB / 0.9585 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.9209, allocations: 34.23 kB / 0.9586 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.9209, allocations: 3.25 kB / 0.9586 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.9209, allocations: 4.281 kB / 0.9586 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.9212, allocations: 58.61 kB / 0.9586 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.9212, allocations: 9.406 kB / 0.9586 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.9215, allocations: 60.25 kB / 0.9587 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.9216, allocations: 12.5 kB / 0.9587 GB, free: 1.457 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.0001465/0.9217, allocations: 153.7 kB / 0.9589 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.9218, allocations: 29.48 kB / 0.9589 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.9219, allocations: 26.72 kB / 0.9589 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.9219, allocations: 7.266 kB / 0.9589 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.9219, allocations: 5.062 kB / 0.9589 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.9219, allocations: 5.109 kB / 0.9589 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.9222, allocations: 314.1 kB / 0.9592 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.9222, allocations: 5.031 kB / 0.9592 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.9224, allocations: 46.77 kB / 0.9593 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.9224, allocations: 10.09 kB / 0.9593 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.9225, allocations: 2.188 kB / 0.9593 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.9225, allocations: 2.125 kB / 0.9593 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9225, allocations: 1.094 kB / 0.9593 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.9231, allocations: 268.8 kB / 0.9596 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.9232, allocations: 103.4 kB / 0.9597 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.9232, allocations: 6.219 kB / 0.9597 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.9234, allocations: 20.88 kB / 0.9597 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.9235, allocations: 40.83 kB / 0.9597 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.9235, allocations: 9.844 kB / 0.9597 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001089/0.9236, allocations: 149.8 kB / 0.9599 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9236, allocations: 0 / 0.9599 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003202/0.9239, allocations: 64.56 kB / 0.9599 GB, free: 488 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.0001829/0.9241, allocations: 117.7 kB / 0.96 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007686/0.9249, allocations: 307.8 kB / 0.9603 GB, free: 212 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.9249, allocations: 1.156 kB / 0.9603 GB, free: 212 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.9253, allocations: 120.8 kB / 0.9605 GB, free: 160 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.9257, allocations: 41.77 kB / 0.9605 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.9268, allocations: 0.5435 MB / 0.961 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.9273, allocations: 0.7604 MB / 0.9618 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000182/0.9275, allocations: 30.98 kB / 0.9618 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-05/0.9276, allocations: 30.89 kB / 0.9618 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/0.9276, allocations: 4 kB / 0.9618 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of Templates: time 0.00776/0.9353, allocations: 2.817 MB / 0.9646 GB, free: 13.56 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