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.Economizers.Subsequences.Validation.Modulation_TSup.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.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.269/4.269, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.999e-05/4.029e-05, allocations: 4.156 kB / 0.5326 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2363, allocations: 98.73 MB / 0.629 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/0.4759, allocations: 125.2 MB / 0.7512 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/0.4763, allocations: 79.94 kB / 0.7513 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02166/0.498, allocations: 5.027 MB / 0.7562 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.854e-06/0.498, allocations: 0 / 0.7562 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.379e-05/0.4981, allocations: 8 kB / 0.7562 GB, free: 6.555 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001797/0.4999, allocations: 0.6624 MB / 0.7569 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.5, allocations: 16.03 kB / 0.7569 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.5002, allocations: 59.3 kB / 0.757 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007683/0.501, allocations: 367.6 kB / 0.7573 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.5011, allocations: 23.92 kB / 0.7573 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-05/0.5012, allocations: 39.94 kB / 0.7574 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008464/0.502, allocations: 270.6 kB / 0.7576 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009322/0.503, allocations: 344 kB / 0.7579 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.503, allocations: 7.938 kB / 0.758 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.636e-05/0.5031, allocations: 7.984 kB / 0.758 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.5031, allocations: 8 kB / 0.758 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.5068, allocations: 1.179 MB / 0.7591 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.5076, allocations: 298.7 kB / 0.7594 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.5079, allocations: 120.9 kB / 0.7595 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.688e-05/0.508, allocations: 16.38 kB / 0.7595 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005359/0.5085, allocations: 201.9 kB / 0.7597 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=45): time 3.797e-06/0.5085, allocations: 0 / 0.7597 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.001096/0.5096, allocations: 393.6 kB / 0.7601 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.5097, allocations: 63.41 kB / 0.7602 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.5101, allocations: 237.8 kB / 0.7604 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.446e-05/0.5102, allocations: 49.69 kB / 0.7604 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.5105, allocations: 228.5 kB / 0.7607 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.5106, allocations: 118.4 kB / 0.7608 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.5107, allocations: 0 / 0.7608 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.5109, allocations: 350.8 kB / 0.7611 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.5112, allocations: 118.2 kB / 0.7612 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.5117, allocations: 269.4 kB / 0.7615 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.5122, allocations: 167.8 kB / 0.7616 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.5122, allocations: 0 / 0.7616 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001172/0.5134, allocations: 462.6 kB / 0.7621 GB, free: 300 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.5134, allocations: 8 kB / 0.7621 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.5135, allocations: 4 kB / 0.7621 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.332e-05/0.5135, allocations: 8 kB / 0.7621 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.5143, allocations: 107.8 kB / 0.7622 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.5143, allocations: 15.92 kB / 0.7622 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.5147, allocations: 43.81 kB / 0.7623 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.5148, allocations: 24 kB / 0.7623 GB, free: 88 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.firstTrigger,$PRE.mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.firstTrigger,$PRE.modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.firstTrigger,$PRE.modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.firstTrigger,$whenCondition1,modFre.firOrdHolRetDam.sampleTrigger,$whenCondition2,modFre.firOrdHolOutDam.sampleTrigger,$whenCondition3,mod.firOrdHolRetDam.sampleTrigger,$whenCondition4,mod.firOrdHolOutDam.sampleTrigger,$PRE.mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.tSample,$PRE.mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.uSample,$PRE.mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.pre_uSample,$PRE.mod.firOrdHolOutDam.c,mod.firOrdHolOutDam.c,$PRE.mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.tSample,$PRE.mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.uSample,$PRE.mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.pre_uSample,$PRE.mod.firOrdHolRetDam.c,mod.firOrdHolRetDam.c,$PRE.modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.tSample,$PRE.modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.uSample,$PRE.modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.pre_uSample,$PRE.modFre.firOrdHolOutDam.c,modFre.firOrdHolOutDam.c,$PRE.modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.tSample,$PRE.modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.uSample,$PRE.modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.pre_uSample,$PRE.modFre.firOrdHolRetDam.c,modFre.firOrdHolRetDam.c) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0002604/0.5151, allocations: 160.8 kB / 0.7624 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001023/0.5161, allocations: 393 kB / 0.7628 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.5162, allocations: 31.62 kB / 0.7628 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.5174, allocations: 431.8 kB / 0.7632 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.5175, allocations: 8 kB / 0.7633 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5175, allocations: 0 / 0.7633 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.5175, allocations: 3.953 kB / 0.7633 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.5196, allocations: 0.9039 MB / 0.7641 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.5197, allocations: 0 / 0.7641 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.5201, allocations: 43.97 kB / 0.7642 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.5201, allocations: 11.89 kB / 0.7642 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.5201, allocations: 4 kB / 0.7642 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.5202, allocations: 4 kB / 0.7642 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.5202, allocations: 3.984 kB / 0.7642 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.5212, allocations: 0.4958 MB / 0.7647 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.5214, allocations: 108.6 kB / 0.7648 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/0.5215, allocations: 19.94 kB / 0.7648 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.5219, allocations: 23.97 kB / 0.7648 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.522, allocations: 28.39 kB / 0.7649 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.5221, allocations: 19.98 kB / 0.7649 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002509/0.5224, allocations: 166 kB / 0.765 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5224, allocations: 0 / 0.765 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006832/0.5231, allocations: 95.69 kB / 0.7651 GB, free: 13.06 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 28 (mod.firOrdHolOutDam.sampleTrigger,mod.firOrdHolRetDam.sampleTrigger,modFre.firOrdHolOutDam.sampleTrigger,modFre.firOrdHolRetDam.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.c,mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.c,modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.c,modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.c) * Number of discrete states: 8 (modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.c,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.c,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.c,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.c) * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.001644/0.5247, allocations: 1.076 MB / 0.7662 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.5258, allocations: 344.8 kB / 0.7665 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5259, allocations: 4.125 kB / 0.7665 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.5263, allocations: 157.6 kB / 0.7667 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/0.5271, allocations: 58.44 kB / 0.7667 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.529, allocations: 0.514 MB / 0.7672 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.5296, allocations: 0.8161 MB / 0.768 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003481/0.53, allocations: 51.38 kB / 0.7681 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.5303, allocations: 140.6 kB / 0.7682 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of SimCode: time 1.282e-06/0.5303, allocations: 4 kB / 0.7682 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/0.5823, allocations: 6.401 MB / 0.7745 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003041/0.5827, allocations: 221.6 kB / 0.7747 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.342, allocations: 1.25 kB / 0.7747 GB, free: 3.184 MB / 0.6511 GB