Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 192 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.572/1.572, allocations: 251.7 MB / 0.5088 GB, free: 3.418 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 67.91 kB / 0.6216 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.706/0.7074, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.004721/0.7122, allocations: 2.09 MB / 0.7259 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.7139, allocations: 0.6979 MB / 0.7266 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.7142, allocations: 4 kB / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.7143, allocations: 15.8 kB / 0.7266 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.7146, allocations: 31.7 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006726/0.7153, allocations: 131.8 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005141/0.7158, allocations: 307.1 kB / 0.727 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.7161, allocations: 52.36 kB / 0.7271 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003806/0.7165, allocations: 115.7 kB / 0.7272 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.7168, allocations: 135.4 kB / 0.7273 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.53e-05/0.7169, allocations: 16 kB / 0.7273 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.7169, allocations: 16 kB / 0.7273 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.717, allocations: 67.78 kB / 0.7274 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.7172, allocations: 135.3 kB / 0.7275 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.7176, allocations: 289 kB / 0.7278 GB, free: 9.098 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.7176, allocations: 0 / 0.7278 GB, free: 9.098 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7176, allocations: 0 / 0.7278 GB, free: 9.098 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.7177, allocations: 0 / 0.7278 GB, free: 9.098 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001635/0.7193, allocations: 0.6237 MB / 0.7284 GB, free: 8.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.7194, allocations: 12.03 kB / 0.7284 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.7195, allocations: 32.56 kB / 0.7285 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.7197, allocations: 196.9 kB / 0.7287 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.72, allocations: 268.2 kB / 0.7289 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.236e-05/0.7201, allocations: 32.38 kB / 0.7289 GB, free: 7.809 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.7207, allocations: 265.8 kB / 0.7292 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.7207, allocations: 0 / 0.7292 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.7208, allocations: 8 kB / 0.7292 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.7208, allocations: 4 kB / 0.7292 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/0.7213, allocations: 179.8 kB / 0.7294 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.7225, allocations: 0.7815 MB / 0.7301 GB, free: 6.508 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.7231, allocations: 211.7 kB / 0.7303 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.7234, allocations: 130.5 kB / 0.7305 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.748e-05/0.7234, allocations: 19.91 kB / 0.7305 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006761/0.7241, allocations: 303.6 kB / 0.7308 GB, free: 5.797 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 3.546e-06/0.7241, allocations: 0 / 0.7308 GB, free: 5.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001097/0.7252, allocations: 490.1 kB / 0.7312 GB, free: 5.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/0.7253, allocations: 110.8 kB / 0.7313 GB, free: 5.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.7255, allocations: 179.4 kB / 0.7315 GB, free: 4.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.7256, allocations: 45.69 kB / 0.7316 GB, free: 4.941 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.228e-05/0.7257, allocations: 121.3 kB / 0.7317 GB, free: 4.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.7258, allocations: 146 kB / 0.7318 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.726, allocations: 110.3 kB / 0.7319 GB, free: 4.559 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7261, allocations: 334.8 kB / 0.7322 GB, free: 4.223 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.7264, allocations: 145.2 kB / 0.7324 GB, free: 4.082 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.7268, allocations: 260.8 kB / 0.7326 GB, free: 3.789 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/0.7274, allocations: 397.9 kB / 0.733 GB, free: 3.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7275, allocations: 0 / 0.733 GB, free: 3.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008404/0.7283, allocations: 0.4895 MB / 0.7335 GB, free: 2.867 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.7283, allocations: 4 kB / 0.7335 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.7284, allocations: 4 kB / 0.7335 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.388e-05/0.7284, allocations: 4 kB / 0.7335 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.7288, allocations: 95.83 kB / 0.7336 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.7288, allocations: 15.92 kB / 0.7336 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.7291, allocations: 59.66 kB / 0.7337 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.7292, allocations: 20 kB / 0.7337 GB, free: 2.668 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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.0001918/0.7294, allocations: 159.9 kB / 0.7338 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.7294, allocations: 31.64 kB / 0.7339 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.852e-05/0.7295, allocations: 29.88 kB / 0.7339 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.7295, allocations: 4 kB / 0.7339 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.7296, allocations: 8 kB / 0.7339 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.7296, allocations: 3.984 kB / 0.7339 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.73, allocations: 349.2 kB / 0.7342 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.73, allocations: 0 / 0.7342 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.7304, allocations: 79.89 kB / 0.7343 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.7304, allocations: 8 kB / 0.7343 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.7304, allocations: 11.98 kB / 0.7343 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7304, allocations: 0 / 0.7343 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7304, allocations: 4 kB / 0.7343 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.7315, allocations: 0.5917 MB / 0.7349 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.7316, allocations: 104.7 kB / 0.735 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.7316, allocations: 15.98 kB / 0.735 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.7319, allocations: 31.97 kB / 0.7351 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.732, allocations: 55.92 kB / 0.7351 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.732, allocations: 12 kB / 0.7351 GB, free: 1.086 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001054/0.7321, allocations: 129.2 kB / 0.7353 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7322, allocations: 0 / 0.7353 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000317/0.7325, allocations: 76 kB / 0.7353 GB, free: 0.8867 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002523/0.7327, allocations: 125.2 kB / 0.7354 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007182/0.7335, allocations: 378.8 kB / 0.7358 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7335, allocations: 0 / 0.7358 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.7339, allocations: 212.5 kB / 0.736 GB, free: 184 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.7343, allocations: 44 kB / 0.736 GB, free: 140 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.7355, allocations: 0.6876 MB / 0.7367 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.7359, allocations: 0.7686 MB / 0.7375 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.736, allocations: 34.97 kB / 0.7375 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.7361, allocations: 35.44 kB / 0.7375 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.7361, allocations: 0 / 0.7375 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.007199/0.7434, allocations: 3.452 MB / 0.7409 GB, free: 11.15 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)