Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 100.3 kB / 19.72 MB, free: 420 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00235/0.00235, allocations: 210.3 kB / 23.02 MB, free: 2.961 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.759/1.759, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.458/3.458, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003921/0.003921, allocations: 67.89 kB / 1.177 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.977/0.981, allocations: 180 MB / 1.353 GB, free: 1.645 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002437/0.9834, allocations: 0.8358 MB / 1.354 GB, free: 0.8125 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.9857, allocations: 1.342 MB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.699e-05/0.9858, allocations: 0 / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.9859, allocations: 19.8 kB / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.9861, allocations: 27.78 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.987, allocations: 273.3 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.9874, allocations: 291.4 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.9875, allocations: 25.08 kB / 1.356 GB, free: 14.84 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.9878, allocations: 127.8 kB / 1.356 GB, free: 14.71 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.9881, allocations: 123.5 kB / 1.356 GB, free: 14.59 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/0.9882, allocations: 24 kB / 1.356 GB, free: 14.57 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.9883, allocations: 43.98 kB / 1.356 GB, free: 14.53 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.9884, allocations: 39.89 kB / 1.356 GB, free: 14.49 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.9885, allocations: 87.69 kB / 1.356 GB, free: 14.4 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.9889, allocations: 273.9 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.989, allocations: 4 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.989, allocations: 4 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.989, allocations: 0 / 1.356 GB, free: 14.13 MB / 1.042 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.001077/0.99, allocations: 477.4 kB / 1.357 GB, free: 13.61 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.9901, allocations: 12.92 kB / 1.357 GB, free: 13.6 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.9903, allocations: 28.83 kB / 1.357 GB, free: 13.57 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008506/0.9911, allocations: 174.1 kB / 1.357 GB, free: 13.38 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.9912, allocations: 24.34 kB / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.9912, allocations: 16.38 kB / 1.357 GB, free: 13.34 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.9917, allocations: 182.8 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.9917, allocations: 4.188 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.9917, allocations: 11.94 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.9917, allocations: 0 / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.9919, allocations: 95.97 kB / 1.357 GB, free: 13.04 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006879/0.9926, allocations: 360.6 kB / 1.358 GB, free: 12.66 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.9929, allocations: 120.8 kB / 1.358 GB, free: 12.54 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.9931, allocations: 76.81 kB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.9931, allocations: 4 kB / 1.358 GB, free: 12.45 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004209/0.9935, allocations: 216.8 kB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.9935, allocations: 0 / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of matching and sorting (n=28): time 0.00103/0.9946, allocations: 465 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.9946, allocations: 55.41 kB / 1.359 GB, free: 11.71 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.9948, allocations: 141.5 kB / 1.359 GB, free: 11.56 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.9948, allocations: 45.69 kB / 1.359 GB, free: 11.51 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.9949, allocations: 104.7 kB / 1.359 GB, free: 11.4 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 8.32e-05/0.995, allocations: 67.53 kB / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.9952, allocations: 93.97 kB / 1.359 GB, free: 11.23 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.9954, allocations: 335 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.9958, allocations: 204.1 kB / 1.359 GB, free: 10.69 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/0.9963, allocations: 272.6 kB / 1.36 GB, free: 10.39 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/0.9969, allocations: 354.3 kB / 1.36 GB, free: 10.01 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.9969, allocations: 4 kB / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001109/0.998, allocations: 0.5702 MB / 1.361 GB, free: 9.406 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 7.822e-05/0.9981, allocations: 67.39 kB / 1.361 GB, free: 9.328 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.9981, allocations: 0 / 1.361 GB, free: 9.328 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-05/0.9982, allocations: 4 kB / 1.361 GB, free: 9.324 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.9984, allocations: 55.91 kB / 1.361 GB, free: 9.27 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.9984, allocations: 0 / 1.361 GB, free: 9.27 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.9988, allocations: 79.89 kB / 1.361 GB, free: 9.191 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.9989, allocations: 27.92 kB / 1.361 GB, free: 9.164 MB / 1.042 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,booPul1.y,$PRE.booPul1.y,$whenCondition4,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2,triMovMea2.ySample[3],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[1],triMovMea2.index,triMovMea2.counter,$PRE.triMovMea2.counter,triMovMea2.iSample,$PRE.triMovMea2.iSample,triMovMea2.y,triMovMea1.ySample[1],$PRE.triMovMea1.ySample[1],triMovMea1.index,triMovMea1.counter,$PRE.triMovMea1.counter,triMovMea1.iSample,$PRE.triMovMea1.iSample,triMovMea1.y,triMovMea.ySample[3],$PRE.triMovMea.ySample[3],triMovMea.ySample[2],$PRE.triMovMea.ySample[2],triMovMea.ySample[1],$PRE.triMovMea.ySample[1],triMovMea.index,triMovMea.counter,$PRE.triMovMea.counter,triMovMea.iSample,$PRE.triMovMea.iSample,triMovMea.y) * 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.0002222/0.9991, allocations: 161.8 kB / 1.361 GB, free: 9 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.9991, allocations: 15.91 kB / 1.361 GB, free: 8.984 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.9992, allocations: 21.95 kB / 1.361 GB, free: 8.957 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.9992, allocations: 0 / 1.361 GB, free: 8.957 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.9992, allocations: 4 kB / 1.361 GB, free: 8.953 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.9992, allocations: 7.938 kB / 1.361 GB, free: 8.945 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009722/1, allocations: 0.5915 MB / 1.362 GB, free: 8.316 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1, allocations: 0 / 1.362 GB, free: 8.316 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/1, allocations: 11.92 kB / 1.362 GB, free: 8.305 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/1, allocations: 0 / 1.362 GB, free: 8.305 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/1, allocations: 7.984 kB / 1.362 GB, free: 8.297 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/1, allocations: 8 kB / 1.362 GB, free: 8.289 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1, allocations: 0 / 1.362 GB, free: 8.289 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/1.001, allocations: 474.5 kB / 1.362 GB, free: 7.812 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/1.001, allocations: 15.91 kB / 1.362 GB, free: 7.797 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/1.001, allocations: 15.98 kB / 1.362 GB, free: 7.781 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/1.001, allocations: 11.98 kB / 1.362 GB, free: 7.77 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/1.001, allocations: 19.91 kB / 1.362 GB, free: 7.75 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/1.001, allocations: 19.98 kB / 1.362 GB, free: 7.73 MB / 1.042 GB Notification: Performance of sorting global known variables: time 8.928e-05/1.001, allocations: 101.9 kB / 1.362 GB, free: 7.633 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/1.001, allocations: 3.938 kB / 1.362 GB, free: 7.629 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003581/1.002, allocations: 63.98 kB / 1.362 GB, free: 7.566 MB / 1.042 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.0002485/1.002, allocations: 145 kB / 1.363 GB, free: 7.418 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000852/1.003, allocations: 470.4 kB / 1.363 GB, free: 6.922 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.003, allocations: 4 kB / 1.363 GB, free: 6.918 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/1.003, allocations: 107.7 kB / 1.363 GB, free: 6.812 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/1.004, allocations: 27.97 kB / 1.363 GB, free: 6.785 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/1.004, allocations: 317.8 kB / 1.363 GB, free: 6.453 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/1.004, allocations: 110.5 kB / 1.363 GB, free: 6.324 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.011e-05/1.005, allocations: 17.83 kB / 1.364 GB, free: 6.305 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/1.005, allocations: 19.44 kB / 1.364 GB, free: 6.285 MB / 1.042 GB Notification: Performance of SimCode: time 4.71e-07/1.005, allocations: 0 / 1.364 GB, free: 6.285 MB / 1.042 GB Notification: Performance of Templates: time 0.009503/1.014, allocations: 3.963 MB / 1.367 GB, free: 2.383 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.702533477917314]