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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.135/4.135, allocations: 433.2 MB / 440.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.029e-05, allocations: 4.125 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2976, allocations: 98.74 MB / 0.629 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2785/0.5762, allocations: 132.7 MB / 0.7585 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.5766, allocations: 91.92 kB / 0.7586 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06271/0.6393, allocations: 14.17 MB / 0.7725 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of FrontEnd: time 9.047e-06/0.6394, allocations: 0 / 0.7725 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.825e-05/0.6395, allocations: 27.88 kB / 0.7725 GB, free: 5.922 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.003627/0.6432, allocations: 1.058 MB / 0.7735 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.6432, allocations: 15.97 kB / 0.7735 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/0.6437, allocations: 102.8 kB / 0.7736 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.6456, allocations: 0.5142 MB / 0.7741 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.6458, allocations: 35.97 kB / 0.7742 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/0.646, allocations: 48 kB / 0.7742 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001833/0.6479, allocations: 0.5077 MB / 0.7747 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.65, allocations: 0.659 MB / 0.7754 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.6501, allocations: 0 / 0.7754 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.6502, allocations: 7.953 kB / 0.7754 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.6502, allocations: 16 kB / 0.7754 GB, free: 2.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006387/0.6566, allocations: 2.071 MB / 0.7774 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.6587, allocations: 0.6343 MB / 0.778 GB, free: 72 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6058/1.265, allocations: 249.1 kB / 0.7783 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/1.265, allocations: 14.36 kB / 0.7783 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001446/1.266, allocations: 392.2 kB / 0.7786 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 5.259e-06/1.266, allocations: 0 / 0.7786 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.002739/1.269, allocations: 0.6115 MB / 0.7792 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.269, allocations: 146.8 kB / 0.7794 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/1.27, allocations: 426.8 kB / 0.7798 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000222/1.271, allocations: 35.52 kB / 0.7798 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005028/1.271, allocations: 363.6 kB / 0.7802 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/1.272, allocations: 181.1 kB / 0.7803 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/1.272, allocations: 0 / 0.7803 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002027/1.272, allocations: 377.5 kB / 0.7807 GB, free: 136 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000833/1.273, allocations: 192.4 kB / 0.7809 GB, free: 136 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/1.274, allocations: 330.9 kB / 0.7812 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009393/1.275, allocations: 216.7 kB / 0.7814 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/1.275, allocations: 1.531 kB / 0.7814 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002483/1.277, allocations: 0.5886 MB / 0.782 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003391/1.278, allocations: 1.227 MB / 0.7832 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/1.278, allocations: 7.188 kB / 0.7832 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.531e-05/1.278, allocations: 6.781 kB / 0.7832 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/1.279, allocations: 157.6 kB / 0.7833 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/1.28, allocations: 8.625 kB / 0.7834 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.281, allocations: 85.95 kB / 0.7834 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.281, allocations: 33.31 kB / 0.7835 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.281, allocations: 3.875 kB / 0.7835 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002001/1.283, allocations: 0.4885 MB / 0.7839 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.283, allocations: 4.125 kB / 0.784 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/1.283, allocations: 10.25 kB / 0.784 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.285, allocations: 150.7 kB / 0.7841 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/1.285, allocations: 11.55 kB / 0.7841 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/1.286, allocations: 81.92 kB / 0.7842 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.286, allocations: 25.81 kB / 0.7842 GB, free: 134.5 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.0004031/1.287, allocations: 142.5 kB / 0.7844 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002334/1.289, allocations: 0.6164 MB / 0.785 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/1.289, allocations: 66.95 kB / 0.785 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/1.291, allocations: 0.58 MB / 0.7856 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/1.292, allocations: 10.12 kB / 0.7856 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.292, allocations: 0 / 0.7856 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/1.292, allocations: 8.125 kB / 0.7856 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004967/1.297, allocations: 1.476 MB / 0.787 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.297, allocations: 1.156 kB / 0.787 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/1.298, allocations: 131 kB / 0.7872 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.035e-05/1.298, allocations: 3.031 kB / 0.7872 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/1.299, allocations: 11.69 kB / 0.7872 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/1.299, allocations: 4.938 kB / 0.7872 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.299, allocations: 1.188 kB / 0.7872 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004118/1.303, allocations: 1.077 MB / 0.7882 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007157/1.304, allocations: 210.7 kB / 0.7884 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/1.304, allocations: 9.484 kB / 0.7885 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/1.305, allocations: 76.3 kB / 0.7885 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004051/1.306, allocations: 81.3 kB / 0.7886 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/1.306, allocations: 23.19 kB / 0.7886 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008449/1.307, allocations: 318.1 kB / 0.7889 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.01e-07/1.307, allocations: 1.438 kB / 0.7889 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001935/1.309, allocations: 262 kB / 0.7892 GB, free: 133.5 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.004197/1.313, allocations: 1.731 MB / 0.7909 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003235/1.316, allocations: 0.8363 MB / 0.7917 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.435e-06/1.316, allocations: 0 / 0.7917 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/1.317, allocations: 317.7 kB / 0.792 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/1.319, allocations: 124.3 kB / 0.7921 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/1.324, allocations: 1.052 MB / 0.7931 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/1.324, allocations: 0.9689 MB / 0.7941 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001264/1.326, allocations: 143.9 kB / 0.7942 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006989/1.326, allocations: 288.7 kB / 0.7945 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of SimCode: time 2.635e-06/1.326, allocations: 0 / 0.7945 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06537/1.392, allocations: 13.74 MB / 0.8079 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/1.392, allocations: 189.2 kB / 0.8081 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.091/4.483, allocations: 0 / 0.8081 GB, free: 130.6 MB / 0.6511 GB