Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyFan.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyFan,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.052/4.052, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.231e-05, allocations: 3.625 kB / 0.5384 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2083, allocations: 98.74 MB / 0.6348 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.247/0.4553, allocations: 133.3 MB / 0.765 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.4557, allocations: 83.94 kB / 0.7651 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.571/1.027, allocations: 14.28 MB / 0.779 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.703e-06/1.027, allocations: 0 / 0.779 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.741e-05/1.027, allocations: 19.91 kB / 0.779 GB, free: 131.7 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003354/1.03, allocations: 1.054 MB / 0.7801 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.03, allocations: 10.72 kB / 0.7801 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003187/1.031, allocations: 118.4 kB / 0.7802 GB, free: 131 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003219/1.031, allocations: 111.9 kB / 0.7803 GB, free: 131 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/1.032, allocations: 0.5142 MB / 0.7808 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.083e-05/1.032, allocations: 64.36 kB / 0.7809 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/1.032, allocations: 78.69 kB / 0.7809 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/1.035, allocations: 0.7583 MB / 0.7817 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/1.035, allocations: 1 kB / 0.7817 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/1.035, allocations: 30.97 kB / 0.7817 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/1.035, allocations: 24.08 kB / 0.7817 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/1.037, allocations: 0.5424 MB / 0.7823 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009834/1.047, allocations: 2.248 MB / 0.7845 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/1.05, allocations: 0.6725 MB / 0.7851 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/1.051, allocations: 269.7 kB / 0.7854 GB, free: 130 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/1.051, allocations: 21.86 kB / 0.7854 GB, free: 130 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001584/1.053, allocations: 410.5 kB / 0.7858 GB, free: 130 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 5.801e-06/1.053, allocations: 0 / 0.7858 GB, free: 130 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.003023/1.056, allocations: 0.6613 MB / 0.7864 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.056, allocations: 154.7 kB / 0.7866 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/1.058, allocations: 0.5454 MB / 0.7871 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002527/1.058, allocations: 47.97 kB / 0.7872 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005368/1.059, allocations: 356.1 kB / 0.7875 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.00038/1.059, allocations: 197.6 kB / 0.7877 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/1.059, allocations: 13.41 kB / 0.7877 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002356/1.06, allocations: 387.4 kB / 0.7881 GB, free: 129 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/1.061, allocations: 205.2 kB / 0.7883 GB, free: 129 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/1.062, allocations: 343 kB / 0.7886 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/1.063, allocations: 227.6 kB / 0.7888 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.063, allocations: 5.375 kB / 0.7888 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002944/1.066, allocations: 0.6526 MB / 0.7894 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.00028/1.066, allocations: 1.225 MB / 0.7906 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/1.066, allocations: 3.406 kB / 0.7906 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/1.066, allocations: 7.484 kB / 0.7907 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.068, allocations: 162.6 kB / 0.7908 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/1.068, allocations: 6.891 kB / 0.7908 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.069, allocations: 116.2 kB / 0.7909 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/1.069, allocations: 26.25 kB / 0.791 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.069, allocations: 6.438 kB / 0.791 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001679/1.071, allocations: 0.5629 MB / 0.7915 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.071, allocations: 5.438 kB / 0.7915 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.071, allocations: 6.875 kB / 0.7915 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/1.072, allocations: 153.5 kB / 0.7917 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/1.072, allocations: 11.61 kB / 0.7917 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.073, allocations: 108.2 kB / 0.7918 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.557e-05/1.073, allocations: 27.94 kB / 0.7918 GB, free: 127.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.conSupFan.staPreSetRes.tim.u,$PRE.conSupFan.firOrdHol.firstTrigger,conSupFan.firOrdHol.firstTrigger,$PRE.conSupFan.staPreSetRes.sampler.firstTrigger,conSupFan.staPreSetRes.sampler.firstTrigger,$PRE.conSupFan.staPreSetRes.uniDel.firstTrigger,conSupFan.staPreSetRes.uniDel.firstTrigger,$whenCondition1,$PRE.conSupFan.staPreSetRes.tim.t_next,$whenCondition4,conSupFan.staPreSetRes.uniDel.sampleTrigger,$whenCondition5,conSupFan.staPreSetRes.sampler.sampleTrigger,$whenCondition6,conSupFan.firOrdHol.sampleTrigger,$whenCondition2,$whenCondition3,conSupFan.uOpeMod,conSupFan.uZonPreResReq,conSupFan.staPreSetRes.tim.u,conSupFan.staPreSetRes.tim.y,conSupFan.staPreSetRes.greThr.y,conSupFan.staPreSetRes.netRes.u2,$PRE.conSupFan.staPreSetRes.uniDel.y,conSupFan.staPreSetRes.uniDel.y,conSupFan.staPreSetRes.sampler.y,conSupFan.or1.u1,conSupFan.intEqu.y,conSupFan.intEqu1.y,conSupFan.intEqu2.y,conSupFan.intEqu3.y,conSupFan.intEqu4.y,$PRE.conSupFan.firOrdHol.tSample,conSupFan.firOrdHol.tSample,$PRE.conSupFan.firOrdHol.uSample,conSupFan.firOrdHol.uSample,$PRE.conSupFan.firOrdHol.pre_uSample,conSupFan.firOrdHol.pre_uSample,$PRE.conSupFan.firOrdHol.c,conSupFan.firOrdHol.c,conSupFan.staPreSetRes.tim.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003255/1.073, allocations: 161.6 kB / 0.792 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/1.074, allocations: 76.23 kB / 0.792 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/1.076, allocations: 0.6552 MB / 0.7927 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/1.076, allocations: 9.312 kB / 0.7927 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.076, allocations: 4.125 kB / 0.7927 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/1.076, allocations: 3.422 kB / 0.7927 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/1.08, allocations: 1.625 MB / 0.7943 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/1.08, allocations: 1.094 kB / 0.7943 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/1.081, allocations: 130.3 kB / 0.7944 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/1.081, allocations: 3 kB / 0.7944 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.991e-05/1.081, allocations: 23.38 kB / 0.7944 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/1.081, allocations: 10.12 kB / 0.7944 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.081, allocations: 0.875 kB / 0.7944 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/1.084, allocations: 1.132 MB / 0.7955 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005631/1.085, allocations: 229.1 kB / 0.7958 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/1.085, allocations: 15.97 kB / 0.7958 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/1.086, allocations: 89.72 kB / 0.7959 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/1.086, allocations: 72.39 kB / 0.7959 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/1.086, allocations: 26.2 kB / 0.796 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008112/1.087, allocations: 424.6 kB / 0.7964 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.5e-07/1.087, allocations: 5.312 kB / 0.7964 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001348/1.089, allocations: 282.3 kB / 0.7966 GB, free: 126.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conSupFan.conSpe.I.y) * Number of discrete variables: 31 (conSupFan.staPreSetRes.tim.u,conSupFan.firOrdHol.sampleTrigger,conSupFan.staPreSetRes.sampler.sampleTrigger,conSupFan.staPreSetRes.uniDel.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,conSupFan.uOpeMod,conSupFan.uZonPreResReq,conSupFan.staPreSetRes.tim.y,conSupFan.staPreSetRes.tim.t_next,conSupFan.staPreSetRes.greThr.y,conSupFan.staPreSetRes.netRes.u2,conSupFan.staPreSetRes.uniDel.y,conSupFan.staPreSetRes.uniDel.firstTrigger,conSupFan.staPreSetRes.sampler.y,conSupFan.staPreSetRes.sampler.firstTrigger,conSupFan.or1.u1,conSupFan.intEqu.y,conSupFan.intEqu1.y,conSupFan.intEqu2.y,conSupFan.intEqu3.y,conSupFan.intEqu4.y,conSupFan.firOrdHol.firstTrigger,conSupFan.firOrdHol.tSample,conSupFan.firOrdHol.uSample,conSupFan.firOrdHol.pre_uSample,conSupFan.firOrdHol.c) * Number of discrete states: 4 (conSupFan.staPreSetRes.tim.t_next,conSupFan.firOrdHol.uSample,conSupFan.firOrdHol.c,conSupFan.staPreSetRes.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003171/1.092, allocations: 1.807 MB / 0.7984 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002655/1.094, allocations: 0.8965 MB / 0.7993 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.094, allocations: 0 / 0.7993 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/1.095, allocations: 337 kB / 0.7996 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/1.097, allocations: 127.7 kB / 0.7997 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/1.101, allocations: 1.115 MB / 0.8008 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/1.101, allocations: 0.969 MB / 0.8018 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001342/1.103, allocations: 152.5 kB / 0.8019 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006593/1.104, allocations: 298.2 kB / 0.8022 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.573e-06/1.104, allocations: 0 / 0.8022 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05358/1.157, allocations: 15.8 MB / 0.8176 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/1.157, allocations: 198.6 kB / 0.8178 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/4.509, allocations: 0 / 0.8178 GB, free: 118.3 MB / 0.6511 GB