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/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.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.135/4.135, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.504e-05/4.532e-05, allocations: 4.578 kB / 0.5384 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2293, allocations: 98.74 MB / 0.6348 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/0.4694, allocations: 125.8 MB / 0.7577 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.4698, allocations: 79.94 kB / 0.7578 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02241/0.4922, allocations: 5.049 MB / 0.7627 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.634e-06/0.4922, allocations: 0 / 0.7627 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.925e-05/0.4923, allocations: 16 kB / 0.7627 GB, free: 14.62 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001882/0.4942, allocations: 0.6613 MB / 0.7634 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/0.4943, allocations: 12.03 kB / 0.7634 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.4944, allocations: 79.39 kB / 0.7635 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.4946, allocations: 59.3 kB / 0.7635 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000787/0.4954, allocations: 387.1 kB / 0.7639 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.4955, allocations: 40.98 kB / 0.7639 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.4956, allocations: 48 kB / 0.764 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.4967, allocations: 394.5 kB / 0.7644 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.4968, allocations: 3.984 kB / 0.7644 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.409e-05/0.4968, allocations: 16 kB / 0.7644 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.4969, allocations: 15.94 kB / 0.7644 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008609/0.4978, allocations: 303.9 kB / 0.7647 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/0.5015, allocations: 1.288 MB / 0.7659 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000852/0.5024, allocations: 330.6 kB / 0.7663 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.5028, allocations: 128.9 kB / 0.7664 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.244e-05/0.5028, allocations: 4.391 kB / 0.7664 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005895/0.5034, allocations: 222.3 kB / 0.7666 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=45): time 3.517e-06/0.5035, allocations: 0 / 0.7666 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45): time 0.001188/0.5046, allocations: 429 kB / 0.767 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.5047, allocations: 71.34 kB / 0.7671 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.5053, allocations: 315.5 kB / 0.7674 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.657e-05/0.5054, allocations: 49.7 kB / 0.7674 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.5056, allocations: 220.2 kB / 0.7676 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.5058, allocations: 126.4 kB / 0.7677 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.5058, allocations: 12 kB / 0.7678 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.506, allocations: 362.8 kB / 0.7681 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.5064, allocations: 129.6 kB / 0.7682 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005357/0.507, allocations: 283 kB / 0.7685 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/0.5075, allocations: 183.2 kB / 0.7687 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.5076, allocations: 0 / 0.7687 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001319/0.5089, allocations: 0.5219 MB / 0.7692 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.5089, allocations: 4 kB / 0.7692 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.509, allocations: 8 kB / 0.7692 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.297e-05/0.509, allocations: 8 kB / 0.7692 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000781/0.5098, allocations: 107.7 kB / 0.7693 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/0.5098, allocations: 11.98 kB / 0.7693 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/0.5103, allocations: 75.55 kB / 0.7694 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/0.5104, allocations: 31.94 kB / 0.7694 GB, free: 7.473 MB / 0.6511 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.0002313/0.5106, allocations: 162.8 kB / 0.7696 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/0.5107, allocations: 51.36 kB / 0.7696 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.5121, allocations: 472.5 kB / 0.7701 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.5121, allocations: 4 kB / 0.7701 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.5121, allocations: 3.984 kB / 0.7701 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.5122, allocations: 0 / 0.7701 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.5143, allocations: 0.9931 MB / 0.7711 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.5143, allocations: 4 kB / 0.7711 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.5147, allocations: 43.92 kB / 0.7711 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.5147, allocations: 0 / 0.7711 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.5148, allocations: 19.94 kB / 0.7711 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.5148, allocations: 0 / 0.7711 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5148, allocations: 4 kB / 0.7711 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.516, allocations: 0.527 MB / 0.7716 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.5161, allocations: 116.6 kB / 0.7717 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.866e-05/0.5163, allocations: 12 kB / 0.7718 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.5167, allocations: 31.92 kB / 0.7718 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.5168, allocations: 32.39 kB / 0.7718 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.5169, allocations: 12 kB / 0.7718 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003887/0.5173, allocations: 238.2 kB / 0.7721 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5173, allocations: 0 / 0.7721 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006176/0.5179, allocations: 103.8 kB / 0.7722 GB, free: 4.562 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.001568/0.5195, allocations: 1.111 MB / 0.7732 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.5206, allocations: 378.8 kB / 0.7736 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5206, allocations: 4.062 kB / 0.7736 GB, free: 3.055 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004311/0.5211, allocations: 166.5 kB / 0.7738 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008779/0.5219, allocations: 95.88 kB / 0.7739 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.5238, allocations: 0.557 MB / 0.7744 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.5242, allocations: 0.8124 MB / 0.7752 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003479/0.5246, allocations: 64.55 kB / 0.7753 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.5249, allocations: 139.4 kB / 0.7754 GB, free: 1.164 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/0.5249, allocations: 0 / 0.7754 GB, free: 1.164 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5716/1.097, allocations: 8.078 MB / 0.7833 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/1.097, allocations: 217 kB / 0.7835 GB, free: 138 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.946/4.043, allocations: 0 / 0.7835 GB, free: 138 MB / 0.6511 GB