Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") Notification: Performance of loadModel(Buildings): time 3.859/3.859, allocations: 433.4 MB / 440.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.127e-05, allocations: 7.984 kB / 0.5326 GB, free: 1.758 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4882/0.4882, allocations: 98.7 MB / 0.629 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.6774, allocations: 125.2 MB / 0.7513 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.6777, allocations: 83.94 kB / 0.7513 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01881/0.6965, allocations: 5.009 MB / 0.7562 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.186e-06/0.6965, allocations: 0 / 0.7562 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.896e-05/0.6966, allocations: 12 kB / 0.7562 GB, free: 13.13 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.001364/0.698, allocations: 0.6653 MB / 0.7569 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.698, allocations: 16.02 kB / 0.7569 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.6982, allocations: 51.39 kB / 0.757 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.6988, allocations: 387.5 kB / 0.7573 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.6989, allocations: 23.98 kB / 0.7573 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.632e-05/0.699, allocations: 32 kB / 0.7574 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007186/0.6997, allocations: 274.6 kB / 0.7576 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008456/0.7006, allocations: 340 kB / 0.758 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.7006, allocations: 0 / 0.758 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.7007, allocations: 12.86 kB / 0.758 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.7007, allocations: 8 kB / 0.758 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.7035, allocations: 1.171 MB / 0.7591 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/0.7041, allocations: 306.6 kB / 0.7594 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.7044, allocations: 116.9 kB / 0.7595 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.7045, allocations: 11.98 kB / 0.7595 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004436/0.7049, allocations: 206.3 kB / 0.7597 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=45): time 3.189e-06/0.705, allocations: 0 / 0.7597 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.0009172/0.7059, allocations: 397.5 kB / 0.7601 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.706, allocations: 71.39 kB / 0.7602 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.7063, allocations: 229.9 kB / 0.7604 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.7064, allocations: 41.7 kB / 0.7604 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.7066, allocations: 232.5 kB / 0.7607 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.7067, allocations: 114.5 kB / 0.7608 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.7068, allocations: 0 / 0.7608 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.707, allocations: 354.8 kB / 0.7611 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.7073, allocations: 121.5 kB / 0.7612 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.7078, allocations: 281.9 kB / 0.7615 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.7082, allocations: 158.1 kB / 0.7617 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7082, allocations: 0 / 0.7617 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001053/0.7092, allocations: 462.3 kB / 0.7621 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.7093, allocations: 8 kB / 0.7621 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.7093, allocations: 4.625 kB / 0.7621 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.7093, allocations: 12 kB / 0.7621 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.7098, allocations: 107.8 kB / 0.7622 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.7099, allocations: 11.98 kB / 0.7622 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.7102, allocations: 39.53 kB / 0.7623 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.7103, allocations: 27.98 kB / 0.7623 GB, free: 6.66 MB / 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.0002012/0.7105, allocations: 160.7 kB / 0.7624 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/0.7106, allocations: 35.61 kB / 0.7625 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009991/0.7116, allocations: 427.8 kB / 0.7629 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.7116, allocations: 7.984 kB / 0.7629 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.995e-06/0.7116, allocations: 0 / 0.7629 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.572e-06/0.7116, allocations: 0 / 0.7629 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.7134, allocations: 0.9156 MB / 0.7638 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.468e-06/0.7134, allocations: 0 / 0.7638 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.7137, allocations: 39.92 kB / 0.7638 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.7137, allocations: 112 / 0.7638 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.7138, allocations: 15.92 kB / 0.7638 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.755e-06/0.7138, allocations: 4 kB / 0.7638 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.8e-06/0.7138, allocations: 7.953 kB / 0.7639 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009195/0.7147, allocations: 0.4997 MB / 0.7643 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.7148, allocations: 108.6 kB / 0.7644 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.7149, allocations: 11.98 kB / 0.7645 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.7152, allocations: 19.98 kB / 0.7645 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.7153, allocations: 36.39 kB / 0.7645 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.7154, allocations: 15.94 kB / 0.7645 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002117/0.7156, allocations: 170 kB / 0.7647 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.5e-07/0.7156, allocations: 0 / 0.7647 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005721/0.7162, allocations: 87.69 kB / 0.7648 GB, free: 4.023 MB / 0.6355 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.0002051/0.7164, allocations: 137.6 kB / 0.7649 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007837/0.7172, allocations: 348.2 kB / 0.7652 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.551e-06/0.7172, allocations: 0 / 0.7652 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.7176, allocations: 157.6 kB / 0.7654 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.7181, allocations: 69.12 kB / 0.7655 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.7192, allocations: 460.2 kB / 0.7659 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.7198, allocations: 0.8083 MB / 0.7667 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002511/0.72, allocations: 59.38 kB / 0.7667 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.7202, allocations: 35.44 kB / 0.7668 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of SimCode: time 1.455e-06/0.7202, allocations: 0 / 0.7668 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.011/0.7312, allocations: 3.518 MB / 0.7702 GB, free: 14.45 MB / 0.6511 GB