Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 297.4 MB / 312.6 MB, free: 2.891 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.00157/0.00157, allocations: 189.5 kB / 382.3 MB, free: 14.81 MB / 314.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.715/1.715, allocations: 225.7 MB / 0.6617 GB, free: 7.234 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.0008404/0.00084, allocations: 93.23 kB / 0.7789 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004315, allocations: 16.81 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8219/0.8223, allocations: 119.2 MB / 1.022 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.001034/0.8234, allocations: 454.7 kB / 1.023 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.8251, allocations: 1.334 MB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.8251, allocations: 0 / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.8252, allocations: 3.938 kB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.878e-05/0.8252, allocations: 6.531 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.8257, allocations: 127.2 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.8259, allocations: 105 kB / 1.024 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.826, allocations: 13.12 kB / 1.024 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.8261, allocations: 41.47 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.995e-05/0.8262, allocations: 35.44 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.8263, allocations: 4.781 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.355e-05/0.8263, allocations: 20.11 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.8264, allocations: 11.34 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.278e-05/0.8265, allocations: 62.67 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.8267, allocations: 106.6 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8267, allocations: 2.719 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8267, allocations: 0 / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.8267, allocations: 0 / 1.025 GB, free: 56.62 MB / 0.698 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.0004966/0.8272, allocations: 391.6 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.8272, allocations: 8.719 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.8273, allocations: 10.5 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.8274, allocations: 177.5 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.8274, allocations: 8.203 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.8275, allocations: 6.156 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.8277, allocations: 72.97 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.8277, allocations: 192 / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.8277, allocations: 7.875 kB / 1.025 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.8278, allocations: 3.062 kB / 1.025 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.828, allocations: 55.81 kB / 1.025 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.8284, allocations: 321.5 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.8286, allocations: 55.64 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.8287, allocations: 39.12 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.8287, allocations: 2.031 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.829, allocations: 92.36 kB / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.829, allocations: 0 / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004584/0.8295, allocations: 150 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.8295, allocations: 62.03 kB / 1.026 GB, free: 55.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.8296, allocations: 116.5 kB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.8296, allocations: 29.08 kB / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.8297, allocations: 94.62 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.8297, allocations: 16.77 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.8297, allocations: 1.906 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.798e-05/0.8298, allocations: 323.8 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.83, allocations: 59.3 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.8302, allocations: 79.81 kB / 1.027 GB, free: 54.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.8304, allocations: 146.2 kB / 1.027 GB, free: 54.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8304, allocations: 0 / 1.027 GB, free: 54.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004069/0.8308, allocations: 200.2 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.8309, allocations: 39.8 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.8309, allocations: 5.438 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.8309, allocations: 1.344 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.831, allocations: 22.45 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.831, allocations: 1.25 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.8313, allocations: 54.64 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.8313, allocations: 12.03 kB / 1.027 GB, free: 54.56 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/0.8314, allocations: 120.6 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.8314, allocations: 2.25 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.8317, allocations: 137.4 kB / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.8317, allocations: 1.375 kB / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.8317, allocations: 0.5625 kB / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.8317, allocations: 2.031 kB / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.8321, allocations: 369.1 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8321, allocations: 0 / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.8322, allocations: 19.7 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8322, allocations: 1.281 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.8322, allocations: 2.094 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8322, allocations: 0 / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8322, allocations: 3.406 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.8325, allocations: 219.1 kB / 1.028 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.8325, allocations: 84.42 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.8326, allocations: 0 / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.8326, allocations: 13.03 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.8327, allocations: 12.59 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.8327, allocations: 6.719 kB / 1.028 GB, free: 53.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.808e-05/0.8327, allocations: 90.42 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8327, allocations: 0 / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002481/0.833, allocations: 23.22 kB / 1.028 GB, free: 53.7 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001383/0.8331, allocations: 116.5 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.8335, allocations: 177.8 kB / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8335, allocations: 0 / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.8336, allocations: 46.62 kB / 1.028 GB, free: 53.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.8339, allocations: 12.56 kB / 1.028 GB, free: 53.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.8342, allocations: 178.4 kB / 1.029 GB, free: 53.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.8344, allocations: 0.6868 MB / 1.029 GB, free: 52.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.8344, allocations: 7.969 kB / 1.029 GB, free: 52.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.8344, allocations: 10.47 kB / 1.029 GB, free: 52.63 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.8344, allocations: 0 / 1.029 GB, free: 52.63 MB / 0.698 GB Notification: Performance of Templates: time 0.003627/0.8381, allocations: 1.273 MB / 1.031 GB, free: 52.53 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1)