Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.737/1.737, allocations: 291.7 MB / 306.8 MB, free: 7.684 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 185.5 kB / 375.4 MB, free: 5.145 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.7 MB / 0.6538 GB, free: 13.7 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 101.3 kB / 0.7699 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.0004369, allocations: 17.78 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7752/0.7756, allocations: 118.1 MB / 1.011 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.0008871/0.7766, allocations: 446.5 kB / 1.011 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.7779, allocations: 1.16 MB / 1.012 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.778, allocations: 0 / 1.012 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.778, allocations: 1.969 kB / 1.012 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.7781, allocations: 6.359 kB / 1.012 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.7785, allocations: 127.8 kB / 1.013 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.949e-05/0.7786, allocations: 94.61 kB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.7787, allocations: 16.55 kB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.219e-05/0.7788, allocations: 38.97 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.239e-05/0.7789, allocations: 38.05 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.7789, allocations: 5.125 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-05/0.779, allocations: 16.73 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.779, allocations: 9.938 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.7791, allocations: 39.55 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.7792, allocations: 74.67 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7792, allocations: 3.281 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7792, allocations: 2.156 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.7792, allocations: 0 / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000459/0.7797, allocations: 392 kB / 1.013 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.7797, allocations: 6.938 kB / 1.013 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.7798, allocations: 11.75 kB / 1.013 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.585e-05/0.7798, allocations: 170.6 kB / 1.013 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.7799, allocations: 7.797 kB / 1.013 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.7799, allocations: 11.12 kB / 1.013 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.7801, allocations: 75.31 kB / 1.014 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.7801, allocations: 192 / 1.014 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.7801, allocations: 10.53 kB / 1.014 GB, free: 56.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.7801, allocations: 0 / 1.014 GB, free: 56.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.7803, allocations: 53.8 kB / 1.014 GB, free: 56.72 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.7807, allocations: 322.5 kB / 1.014 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.7809, allocations: 61.69 kB / 1.014 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.644e-05/0.781, allocations: 35.77 kB / 1.014 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.781, allocations: 0 / 1.014 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.7813, allocations: 90.58 kB / 1.014 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.7813, allocations: 1.312 kB / 1.014 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003957/0.7817, allocations: 158.8 kB / 1.014 GB, free: 56.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.7817, allocations: 54.69 kB / 1.014 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.302e-05/0.7818, allocations: 114.9 kB / 1.014 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.7818, allocations: 29.92 kB / 1.014 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.7818, allocations: 92.58 kB / 1.015 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.7819, allocations: 18.89 kB / 1.015 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.7819, allocations: 4.906 kB / 1.015 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.7819, allocations: 318.7 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.7821, allocations: 54.44 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.7822, allocations: 86.06 kB / 1.015 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.7825, allocations: 143.2 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7825, allocations: 3.875 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00037/0.7829, allocations: 196.7 kB / 1.015 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.7829, allocations: 42.05 kB / 1.015 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7829, allocations: 0.9375 kB / 1.015 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.783, allocations: 7 kB / 1.015 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.7831, allocations: 22.5 kB / 1.015 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7831, allocations: 0 / 1.015 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.7833, allocations: 51.92 kB / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.7833, allocations: 9.562 kB / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.booPul.y,booPul.y,$PRE.triggeredMax.y,triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 7.39e-05/0.7834, allocations: 123 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.7834, allocations: 3.938 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.7837, allocations: 129.4 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.7837, allocations: 3.844 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.7837, allocations: 2.5 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.7837, allocations: 0 / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.7841, allocations: 376.4 kB / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7841, allocations: 0 / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.7842, allocations: 16.95 kB / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7842, allocations: 0 / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.7842, allocations: 5.625 kB / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7842, allocations: 0 / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7842, allocations: 2.109 kB / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.7845, allocations: 217.3 kB / 1.016 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.7845, allocations: 81.02 kB / 1.016 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.7845, allocations: 2.656 kB / 1.016 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/0.7846, allocations: 13.47 kB / 1.016 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.7847, allocations: 11.5 kB / 1.016 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.7847, allocations: 6.812 kB / 1.016 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.7847, allocations: 90.95 kB / 1.017 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7847, allocations: 1.5 kB / 1.017 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002434/0.785, allocations: 27.31 kB / 1.017 GB, free: 54.74 MB / 0.7136 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 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * 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.0001296/0.7851, allocations: 107.9 kB / 1.017 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.7855, allocations: 180.1 kB / 1.017 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7855, allocations: 0.5625 kB / 1.017 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.7856, allocations: 46.72 kB / 1.017 GB, free: 54.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.7859, allocations: 9.391 kB / 1.017 GB, free: 54.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.7862, allocations: 177.6 kB / 1.017 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.7863, allocations: 0.691 MB / 1.018 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.7863, allocations: 3 kB / 1.018 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.7863, allocations: 10.97 kB / 1.018 GB, free: 53.74 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/0.7863, allocations: 0 / 1.018 GB, free: 53.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.003279/0.7896, allocations: 1.238 MB / 1.019 GB, free: 53.67 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1)