Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0006699/0.0006699, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008453/0.001515, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0007249/0.0007249, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009864/0.001711, allocations: 463.6 kB / 11.69 MB, free: 2.48 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 0.9228/0.9228, allocations: 177.1 MB / 189.6 MB, free: 3.754 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1629/1.086, allocations: 53.65 MB / 243.2 MB, free: 2.34 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6686/0.6686, allocations: 119.1 MB / 363.1 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0709/0.7395, allocations: 37.85 MB / 400.9 MB, free: 15.3 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 402.2 MB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/3.041e-05, allocations: 2.312 kB / 402.2 MB, free: 14.03 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001714/0.001745, allocations: 0.8958 MB / 403.1 MB, free: 13.13 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.003632, allocations: 1.372 MB / 404.5 MB, free: 11.74 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.003693, allocations: 0 / 404.5 MB, free: 11.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 6.601e-05/0.003759, allocations: 11.81 kB / 404.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.003861, allocations: 35.77 kB / 404.5 MB, free: 11.7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.004328, allocations: 267.2 kB / 404.8 MB, free: 11.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.004606, allocations: 287.3 kB / 405.1 MB, free: 11.15 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.902e-05/0.004705, allocations: 21.95 kB / 405.1 MB, free: 11.13 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.004948, allocations: 191.7 kB / 405.3 MB, free: 10.94 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.00515, allocations: 111.8 kB / 405.4 MB, free: 10.83 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.005188, allocations: 24 kB / 405.4 MB, free: 10.81 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.402e-05/0.005282, allocations: 35.98 kB / 405.4 MB, free: 10.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.005346, allocations: 43.8 kB / 405.5 MB, free: 10.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.005414, allocations: 55.94 kB / 405.5 MB, free: 10.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.005652, allocations: 183.5 kB / 405.7 MB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.366e-05/0.005665, allocations: 0 / 405.7 MB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.005667, allocations: 0 / 405.7 MB, free: 10.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.005685, allocations: 0 / 405.7 MB, free: 10.5 MB / 394.7 MB 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.0007197/0.006404, allocations: 482.5 kB / 406.2 MB, free: 9.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.006438, allocations: 15.89 kB / 406.2 MB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.00662, allocations: 110 kB / 406.3 MB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.006809, allocations: 160.5 kB / 406.5 MB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.006835, allocations: 16.38 kB / 406.5 MB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.006862, allocations: 20.36 kB / 406.5 MB, free: 9.629 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.007047, allocations: 143.5 kB / 406.6 MB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.007055, allocations: 192 / 406.6 MB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.007069, allocations: 4.359 kB / 406.6 MB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.007075, allocations: 4.375 kB / 406.6 MB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.196e-05/0.007126, allocations: 40.09 kB / 406.7 MB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.007461, allocations: 247.3 kB / 406.9 MB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.007571, allocations: 118.3 kB / 407 MB, free: 9.047 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.007611, allocations: 36.83 kB / 407.1 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.007626, allocations: 8.188 kB / 407.1 MB, free: 9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.007802, allocations: 166.6 kB / 407.2 MB, free: 8.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.007803, allocations: 0 / 407.2 MB, free: 8.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0002631/0.008066, allocations: 199.5 kB / 407.4 MB, free: 8.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.008113, allocations: 59.39 kB / 407.5 MB, free: 8.555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/0.008195, allocations: 134.6 kB / 407.6 MB, free: 8.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.008233, allocations: 41.7 kB / 407.7 MB, free: 8.363 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.008277, allocations: 100.7 kB / 407.8 MB, free: 8.262 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.008327, allocations: 79.42 kB / 407.8 MB, free: 8.184 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.008428, allocations: 81.97 kB / 407.9 MB, free: 8.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.008534, allocations: 334.8 kB / 408.3 MB, free: 7.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.008669, allocations: 135 kB / 408.4 MB, free: 7.613 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.008799, allocations: 189 kB / 408.6 MB, free: 7.395 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.009011, allocations: 247.9 kB / 408.8 MB, free: 7.113 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.009016, allocations: 0 / 408.8 MB, free: 7.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003304/0.009346, allocations: 381.5 kB / 409.2 MB, free: 6.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.00941, allocations: 67.39 kB / 409.2 MB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.009422, allocations: 11.98 kB / 409.3 MB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.009435, allocations: 96 / 409.3 MB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.009594, allocations: 55.91 kB / 409.3 MB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.009599, allocations: 7.938 kB / 409.3 MB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.00974, allocations: 67.72 kB / 409.4 MB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.009769, allocations: 16.11 kB / 409.4 MB, free: 6.477 MB / 394.7 MB 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.0001223/0.009891, allocations: 164.6 kB / 409.6 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.009917, allocations: 19.92 kB / 409.6 MB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.009949, allocations: 21.95 kB / 409.6 MB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.009952, allocations: 0 / 409.6 MB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.009955, allocations: 0 / 409.6 MB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.009959, allocations: 0 / 409.6 MB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.01027, allocations: 366.4 kB / 410 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.01028, allocations: 3.938 kB / 410 MB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.01032, allocations: 8 kB / 410 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.01033, allocations: 19.84 kB / 410 MB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.01034, allocations: 3.984 kB / 410 MB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.01035, allocations: 3.984 kB / 410 MB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01035, allocations: 4 kB / 410 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01035, allocations: 0 / 410 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.01055, allocations: 290.8 kB / 410.3 MB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.01059, allocations: 19.98 kB / 410.3 MB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/0.01065, allocations: 4 kB / 410.3 MB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.01069, allocations: 19.91 kB / 410.3 MB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.01071, allocations: 19.97 kB / 410.4 MB, free: 5.473 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.996e-05/0.01074, allocations: 27.48 kB / 410.4 MB, free: 5.445 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01074, allocations: 0 / 410.4 MB, free: 5.445 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002023/0.01094, allocations: 67.94 kB / 410.4 MB, free: 5.379 MB / 394.7 MB 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.0001774/0.01112, allocations: 114.4 kB / 410.6 MB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006292/0.01175, allocations: 376 kB / 410.9 MB, free: 4.848 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.01175, allocations: 256 / 410.9 MB, free: 4.848 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.01182, allocations: 76 kB / 411 MB, free: 4.773 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.01203, allocations: 63.86 kB / 411.1 MB, free: 4.711 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.0129, allocations: 303.5 kB / 411.4 MB, free: 4.387 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.207e-05/0.01294, allocations: 72.31 kB / 411.4 MB, free: 4.297 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.512e-05/0.01299, allocations: 25.58 kB / 411.5 MB, free: 4.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.01312, allocations: 91.34 kB / 411.5 MB, free: 4.184 MB / 394.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01312, allocations: 0 / 411.5 MB, free: 4.184 MB / 394.7 MB Notification: Performance of Templates: time 0.005965/0.01908, allocations: 4.167 MB / 415.7 MB, free: 112 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.333047575317323]