Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008928/0.008928, allocations: 107.7 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001095/0.001095, allocations: 183.4 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.794/1.794, allocations: 194.6 MB / 211.3 MB, free: 10.96 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.456/2.456, allocations: 236.1 MB / 492.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004618, allocations: 11.98 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6269/0.6274, allocations: 98.71 MB / 0.6833 GB, free: 16.55 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.001553/0.629, allocations: 1.142 MB / 0.6845 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005392/0.6295, allocations: 252.9 kB / 0.6847 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.6296, allocations: 0 / 0.6847 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.6296, allocations: 5.656 kB / 0.6847 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-05/0.6297, allocations: 6.75 kB / 0.6847 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.6299, allocations: 22.52 kB / 0.6847 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.324e-05/0.63, allocations: 36.83 kB / 0.6848 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.511e-05/0.6301, allocations: 8.453 kB / 0.6848 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.3e-05/0.6302, allocations: 26.45 kB / 0.6848 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.6302, allocations: 24.78 kB / 0.6848 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.6303, allocations: 2.375 kB / 0.6848 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.6303, allocations: 2.406 kB / 0.6848 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.6303, allocations: 10.98 kB / 0.6848 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.6304, allocations: 31.61 kB / 0.6849 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.108e-05/0.6305, allocations: 32.86 kB / 0.6849 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.6305, allocations: 0 / 0.6849 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.881e-06/0.6305, allocations: 0 / 0.6849 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.854e-06/0.6305, allocations: 0 / 0.6849 GB, free: 15.41 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005022/0.631, allocations: 378.8 kB / 0.6853 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.6311, allocations: 9.312 kB / 0.6853 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.6311, allocations: 7.859 kB / 0.6853 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.318e-05/0.6312, allocations: 179.5 kB / 0.6855 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.6312, allocations: 2.109 kB / 0.6855 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.6313, allocations: 11.97 kB / 0.6855 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.6315, allocations: 72.59 kB / 0.6855 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.6315, allocations: 0 / 0.6855 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.6316, allocations: 4.562 kB / 0.6855 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-06/0.6316, allocations: 1.031 kB / 0.6855 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.6318, allocations: 59.41 kB / 0.6856 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.6323, allocations: 282.7 kB / 0.6859 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.6325, allocations: 66.55 kB / 0.6859 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.6325, allocations: 0 / 0.6859 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.6328, allocations: 87.3 kB / 0.686 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.503e-06/0.6328, allocations: 0 / 0.686 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0005227/0.6333, allocations: 149.5 kB / 0.6862 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.6334, allocations: 56.92 kB / 0.6862 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.6335, allocations: 116.4 kB / 0.6863 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.6335, allocations: 27.69 kB / 0.6864 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.6336, allocations: 91.97 kB / 0.6864 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.6336, allocations: 14.81 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.6336, allocations: 1.281 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.6337, allocations: 318 kB / 0.6868 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.6338, allocations: 29.47 kB / 0.6868 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.634, allocations: 59.17 kB / 0.6868 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.6341, allocations: 38.67 kB / 0.6869 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.276e-06/0.6342, allocations: 0 / 0.6869 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003705/0.6345, allocations: 124.8 kB / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.6346, allocations: 5.094 kB / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.25e-06/0.6346, allocations: 2.375 kB / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.6346, allocations: 1.375 kB / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.6348, allocations: 19.2 kB / 0.687 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.722e-06/0.6348, allocations: 5.297 kB / 0.687 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.6349, allocations: 19.33 kB / 0.687 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.6349, allocations: 2.969 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$PRE.triggeredMax.y,triggeredMax.y,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.389e-05/0.635, allocations: 115 kB / 0.6872 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.6351, allocations: 2.484 kB / 0.6872 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.6355, allocations: 132.2 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.556e-06/0.6355, allocations: 192 / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6355, allocations: 0 / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.911e-06/0.6355, allocations: 10.16 kB / 0.6873 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.6361, allocations: 389.5 kB / 0.6877 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.6362, allocations: 0 / 0.6877 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-05/0.6363, allocations: 16.08 kB / 0.6877 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.214e-06/0.6363, allocations: 0 / 0.6877 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.6363, allocations: 1.766 kB / 0.6877 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.716e-06/0.6363, allocations: 5.891 kB / 0.6877 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.002e-06/0.6363, allocations: 0 / 0.6877 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.6367, allocations: 210.1 kB / 0.6879 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.6367, allocations: 82.86 kB / 0.688 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.6368, allocations: 5.828 kB / 0.688 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.6369, allocations: 15.06 kB / 0.688 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.637, allocations: 11.17 kB / 0.688 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.637, allocations: 3.234 kB / 0.688 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.6371, allocations: 100.1 kB / 0.6881 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.24e-07/0.6371, allocations: 0 / 0.6881 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003337/0.6374, allocations: 14.09 kB / 0.6881 GB, free: 12.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (booPul.y,$whenCondition2,$whenCondition1,triggeredMax.y,booPul.pulseStart) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001118/0.6376, allocations: 101.2 kB / 0.6882 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003465/0.6379, allocations: 82.25 kB / 0.6883 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6379, allocations: 0 / 0.6883 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.6381, allocations: 40.52 kB / 0.6883 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.6384, allocations: 11.48 kB / 0.6883 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004184/0.6388, allocations: 169.1 kB / 0.6885 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.639, allocations: 0.6885 MB / 0.6892 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.595e-05/0.639, allocations: 4.422 kB / 0.6892 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.6391, allocations: 11.25 kB / 0.6892 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/0.6391, allocations: 1 kB / 0.6892 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.003602/0.6427, allocations: 0.7424 MB / 0.6899 GB, free: 11.63 MB / 0.5261 GB