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.TriggeredMovingMean.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.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.772/1.772, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.00109/0.00109, allocations: 179.2 kB / 393.1 MB, free: 4.094 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.522/1.522, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.001038/0.001038, allocations: 93.48 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003956, allocations: 16 kB / 0.9224 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8202/0.8206, allocations: 121.3 MB / 1.041 GB, free: 58.42 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean): time 0.001021/0.8217, allocations: 0.584 MB / 1.041 GB, free: 58.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.8233, allocations: 1.525 MB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.8234, allocations: 6.406 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.641e-05/0.8235, allocations: 11.08 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.8236, allocations: 30.59 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.8243, allocations: 247.3 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.8245, allocations: 256.2 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.8246, allocations: 26.02 kB / 1.043 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.8248, allocations: 115 kB / 1.044 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.825, allocations: 104.4 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.825, allocations: 12.28 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.026e-05/0.8251, allocations: 27.28 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.8252, allocations: 35.3 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.8253, allocations: 122.5 kB / 1.044 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.8256, allocations: 245.7 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8256, allocations: 0 / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8256, allocations: 0.7188 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.8257, allocations: 1.844 kB / 1.044 GB, free: 56.34 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007612/0.8264, allocations: 0.4921 MB / 1.045 GB, free: 55.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.8265, allocations: 8.406 kB / 1.045 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.79e-05/0.8265, allocations: 22.94 kB / 1.045 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.8268, allocations: 233.6 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.8268, allocations: 14.53 kB / 1.045 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.8269, allocations: 19.7 kB / 1.045 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.8273, allocations: 190 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.8273, allocations: 192 / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.8273, allocations: 10.06 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.8273, allocations: 3.938 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.8275, allocations: 93.16 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.8281, allocations: 476.6 kB / 1.046 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.8284, allocations: 136 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.8285, allocations: 95.25 kB / 1.046 GB, free: 55.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.8286, allocations: 2.906 kB / 1.046 GB, free: 55.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/0.8289, allocations: 221.8 kB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.8289, allocations: 0 / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.0007687/0.8297, allocations: 451.6 kB / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.8297, allocations: 61.06 kB / 1.047 GB, free: 54.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.8298, allocations: 133.4 kB / 1.047 GB, free: 54.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.8299, allocations: 41.64 kB / 1.047 GB, free: 54.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.83, allocations: 100.6 kB / 1.047 GB, free: 54.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.83, allocations: 72.47 kB / 1.047 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.8301, allocations: 12.66 kB / 1.047 GB, free: 54.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.8301, allocations: 338.3 kB / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.8304, allocations: 146.5 kB / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.8307, allocations: 214.5 kB / 1.048 GB, free: 53.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.8312, allocations: 355.4 kB / 1.048 GB, free: 53.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8312, allocations: 4.188 kB / 1.048 GB, free: 53.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007603/0.832, allocations: 0.4967 MB / 1.048 GB, free: 53.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.8321, allocations: 67.95 kB / 1.048 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.8321, allocations: 1.562 kB / 1.048 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.8321, allocations: 6.312 kB / 1.048 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.8323, allocations: 53.83 kB / 1.049 GB, free: 53.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.8323, allocations: 3.469 kB / 1.049 GB, free: 53.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.8327, allocations: 101.5 kB / 1.049 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/0.8328, allocations: 21.86 kB / 1.049 GB, free: 53.41 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2,triMovMea.y,$PRE.triMovMea.iSample,triMovMea.iSample,$PRE.triMovMea.counter,triMovMea.counter,triMovMea.index,$PRE.triMovMea.ySample[1],triMovMea.ySample[1],$PRE.triMovMea.ySample[2],triMovMea.ySample[2],$PRE.triMovMea.ySample[3],triMovMea.ySample[3],triMovMea1.y,$PRE.triMovMea1.iSample,triMovMea1.iSample,$PRE.triMovMea1.counter,triMovMea1.counter,triMovMea1.index,$PRE.triMovMea1.ySample[1],triMovMea1.ySample[1],triMovMea2.y,$PRE.triMovMea2.iSample,triMovMea2.iSample,$PRE.triMovMea2.counter,triMovMea2.counter,triMovMea2.index,$PRE.triMovMea2.ySample[1],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 2 * 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.0001406/0.833, allocations: 170.6 kB / 1.049 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.833, allocations: 17.66 kB / 1.049 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.833, allocations: 15.03 kB / 1.049 GB, free: 53.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.833, allocations: 7.406 kB / 1.049 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.833, allocations: 5.781 kB / 1.049 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.8331, allocations: 3.938 kB / 1.049 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000733/0.8338, allocations: 0.6641 MB / 1.049 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.8338, allocations: 0 / 1.049 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.8339, allocations: 6.609 kB / 1.049 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.8339, allocations: 4 kB / 1.05 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.8339, allocations: 13.75 kB / 1.05 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.8339, allocations: 5.219 kB / 1.05 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8339, allocations: 1.219 kB / 1.05 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/0.8345, allocations: 462 kB / 1.05 GB, free: 52.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.8345, allocations: 98.7 kB / 1.05 GB, free: 52.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.8346, allocations: 20.78 kB / 1.05 GB, free: 52.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.8347, allocations: 15.36 kB / 1.05 GB, free: 52.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.8348, allocations: 14.31 kB / 1.05 GB, free: 52.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.8348, allocations: 20.16 kB / 1.05 GB, free: 52.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.8349, allocations: 106.5 kB / 1.05 GB, free: 52.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8349, allocations: 0 / 1.05 GB, free: 52.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003462/0.8352, allocations: 65.23 kB / 1.05 GB, free: 52.37 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: 27 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triMovMea.y,triMovMea.iSample,triMovMea.counter,triMovMea.index,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.y,triMovMea1.iSample,triMovMea1.counter,triMovMea1.index,triMovMea1.ySample[1],triMovMea2.y,triMovMea2.iSample,triMovMea2.counter,triMovMea2.index,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],booPul1.y) * Number of discrete states: 13 (triMovMea2.iSample,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],triMovMea2.counter,triMovMea.iSample,triMovMea.counter,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.iSample,triMovMea1.counter,triMovMea1.ySample[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0002001/0.8354, allocations: 150.4 kB / 1.05 GB, free: 52.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006657/0.8361, allocations: 447.1 kB / 1.051 GB, free: 52.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8361, allocations: 1.375 kB / 1.051 GB, free: 52.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.8363, allocations: 122.1 kB / 1.051 GB, free: 52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.8367, allocations: 31.31 kB / 1.051 GB, free: 51.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.8373, allocations: 355.1 kB / 1.051 GB, free: 51.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.8375, allocations: 0.7172 MB / 1.052 GB, free: 51.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.83e-05/0.8376, allocations: 26.48 kB / 1.052 GB, free: 51.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.8376, allocations: 23.16 kB / 1.052 GB, free: 51.05 MB / 0.698 GB Notification: Performance of SimCode: time 9.51e-07/0.8376, allocations: 0 / 1.052 GB, free: 51.05 MB / 0.698 GB Notification: Performance of Templates: time 0.007107/0.8447, allocations: 3.396 MB / 1.055 GB, free: 50.82 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe 2>&1)