Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.74/1.74, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.001355/0.001355, allocations: 171.3 kB / 393.1 MB, free: 4.066 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.529/1.529, allocations: 225.7 MB / 0.6743 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008535/0.0008536, allocations: 99.38 kB / 0.7935 GB, free: 40.1 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005816/0.0005821, allocations: 8 kB / 0.9224 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.8051, allocations: 121.3 MB / 1.041 GB, free: 58.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.001471/0.8067, allocations: 459.3 kB / 1.041 GB, free: 58.24 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00314/0.8099, allocations: 1.323 MB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.381e-05/0.81, allocations: 1.219 kB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/0.8101, allocations: 2.938 kB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.8102, allocations: 9.875 kB / 1.043 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008828/0.8111, allocations: 126.4 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.8114, allocations: 108.7 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.8116, allocations: 13.09 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.8118, allocations: 38.38 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.8119, allocations: 40.52 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.812, allocations: 5.344 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.8121, allocations: 19.41 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.8121, allocations: 3.281 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.8123, allocations: 67.39 kB / 1.043 GB, free: 57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.8126, allocations: 111.3 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8126, allocations: 0 / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8126, allocations: 0 / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.8126, allocations: 0 / 1.043 GB, free: 56.96 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.0008695/0.8135, allocations: 397.1 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.536e-05/0.8136, allocations: 10.38 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.829e-05/0.8137, allocations: 6.344 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.8139, allocations: 173.3 kB / 1.044 GB, free: 56.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.8139, allocations: 4.625 kB / 1.044 GB, free: 56.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.814, allocations: 7.125 kB / 1.044 GB, free: 56.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.8143, allocations: 72.06 kB / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.8144, allocations: 192 / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.8144, allocations: 4.641 kB / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.8144, allocations: 1.188 kB / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.8147, allocations: 61.2 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/0.8154, allocations: 327.1 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.8157, allocations: 55.03 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.8158, allocations: 31.02 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.8159, allocations: 1.844 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/0.8162, allocations: 99.77 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.945e-06/0.8163, allocations: 0 / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006919/0.817, allocations: 150.8 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.817, allocations: 56.69 kB / 1.045 GB, free: 55.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.8172, allocations: 117.8 kB / 1.045 GB, free: 55.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.8172, allocations: 27.17 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.8173, allocations: 95.14 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.8173, allocations: 14.78 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.8174, allocations: 4.812 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.8174, allocations: 325.4 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.8177, allocations: 53.39 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.818, allocations: 84.28 kB / 1.045 GB, free: 55.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.8184, allocations: 143.5 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8184, allocations: 0 / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006766/0.8191, allocations: 208.8 kB / 1.046 GB, free: 54.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.8192, allocations: 43.97 kB / 1.046 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.8192, allocations: 1.172 kB / 1.046 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.8192, allocations: 1.406 kB / 1.046 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.8194, allocations: 17.22 kB / 1.046 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.8194, allocations: 7.953 kB / 1.046 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.8197, allocations: 50.44 kB / 1.046 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.8198, allocations: 5.688 kB / 1.046 GB, free: 54.89 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 0.0001254/0.8199, allocations: 129.2 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.82, allocations: 10.56 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.8204, allocations: 128.8 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.8204, allocations: 4 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.8204, allocations: 0 / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.8205, allocations: 0 / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.821, allocations: 372 kB / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.821, allocations: 0 / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.702e-05/0.8211, allocations: 13.12 kB / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.8212, allocations: 1.25 kB / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.8212, allocations: 7.25 kB / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.8212, allocations: 3.938 kB / 1.046 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8212, allocations: 4 kB / 1.046 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.8216, allocations: 214.7 kB / 1.047 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.8217, allocations: 77.81 kB / 1.047 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.8217, allocations: 7.766 kB / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.8218, allocations: 8.734 kB / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.8219, allocations: 14.94 kB / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.8219, allocations: 3.531 kB / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.464e-05/0.822, allocations: 89.05 kB / 1.047 GB, free: 54.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.663e-06/0.822, allocations: 0 / 1.047 GB, free: 54.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004347/0.8225, allocations: 23.22 kB / 1.047 GB, free: 54.02 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.00019/0.8227, allocations: 126.2 kB / 1.047 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005443/0.8232, allocations: 170.2 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8232, allocations: 0 / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.8234, allocations: 49.17 kB / 1.047 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.8239, allocations: 10.78 kB / 1.047 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.8244, allocations: 175.5 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.8245, allocations: 0.6916 MB / 1.048 GB, free: 52.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.004e-05/0.8246, allocations: 1.5 kB / 1.048 GB, free: 52.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.8246, allocations: 11.94 kB / 1.048 GB, free: 52.96 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/0.8247, allocations: 0 / 1.048 GB, free: 52.96 MB / 0.698 GB Notification: Performance of Templates: time 0.0057/0.8304, allocations: 1.276 MB / 1.049 GB, free: 52.84 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1)