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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007297/0.007297, allocations: 95.98 kB / 15.73 MB, free: 6.062 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.001611/0.001611, allocations: 196 kB / 16.68 MB, free: 5.98 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.621/1.621, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.606/1.606, allocations: 251.7 MB / 0.5094 GB, free: 3.078 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.001467/0.001467, allocations: 71.89 kB / 0.7259 GB, free: 9.066 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2514, allocations: 104.7 MB / 0.8281 GB, free: 268 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003374/0.2549, allocations: 2.041 MB / 0.8301 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.256, allocations: 0.6941 MB / 0.8308 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.2561, allocations: 3.938 kB / 0.8308 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.25e-05/0.2562, allocations: 23.72 kB / 0.8308 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.2563, allocations: 39.58 kB / 0.8308 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.2568, allocations: 151.7 kB / 0.831 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.2572, allocations: 331 kB / 0.8313 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.2574, allocations: 52.31 kB / 0.8314 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.2576, allocations: 131.6 kB / 0.8315 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.2578, allocations: 151.3 kB / 0.8316 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.2578, allocations: 28 kB / 0.8317 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.573e-05/0.2579, allocations: 32 kB / 0.8317 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/0.258, allocations: 79.8 kB / 0.8318 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.2581, allocations: 135.3 kB / 0.8319 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.2584, allocations: 302.8 kB / 0.8322 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2584, allocations: 4 kB / 0.8322 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2584, allocations: 0 / 0.8322 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.2585, allocations: 0 / 0.8322 GB, free: 12.06 MB / 0.6544 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.001182/0.2596, allocations: 0.6259 MB / 0.8328 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2597, allocations: 12.03 kB / 0.8328 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.2598, allocations: 32.78 kB / 0.8328 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.2599, allocations: 204.8 kB / 0.833 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.2601, allocations: 264.3 kB / 0.8333 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.2602, allocations: 36.36 kB / 0.8333 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.2607, allocations: 253.9 kB / 0.8336 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.2607, allocations: 7.984 kB / 0.8336 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.2608, allocations: 4 kB / 0.8336 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.2608, allocations: 8 kB / 0.8336 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.2612, allocations: 179.8 kB / 0.8338 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.2622, allocations: 0.7775 MB / 0.8345 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.2627, allocations: 207.7 kB / 0.8347 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.263, allocations: 134.5 kB / 0.8348 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.263, allocations: 4 kB / 0.8348 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005468/0.2636, allocations: 319.5 kB / 0.8351 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 3.196e-06/0.2636, allocations: 0 / 0.8351 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.0009999/0.2646, allocations: 492.7 kB / 0.8356 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.2647, allocations: 114.8 kB / 0.8357 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.2648, allocations: 175.5 kB / 0.8359 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.2649, allocations: 41.64 kB / 0.8359 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.265, allocations: 125.3 kB / 0.8361 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2651, allocations: 158.8 kB / 0.8362 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.2652, allocations: 102.3 kB / 0.8363 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2654, allocations: 346.8 kB / 0.8366 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.2657, allocations: 145.2 kB / 0.8368 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.266, allocations: 260.7 kB / 0.837 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/0.2666, allocations: 390 kB / 0.8374 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2666, allocations: 0 / 0.8374 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008129/0.2675, allocations: 0.4932 MB / 0.8379 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2675, allocations: 8 kB / 0.8379 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.2675, allocations: 4 kB / 0.8379 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2675, allocations: 4 kB / 0.8379 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.2679, allocations: 95.83 kB / 0.838 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.2679, allocations: 7.938 kB / 0.838 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.2682, allocations: 59.75 kB / 0.838 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.2683, allocations: 23.98 kB / 0.8381 GB, free: 5.621 MB / 0.6544 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.0001624/0.2684, allocations: 159.9 kB / 0.8382 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.2685, allocations: 35.75 kB / 0.8383 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.2686, allocations: 33.86 kB / 0.8383 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.2686, allocations: 4 kB / 0.8383 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.2686, allocations: 0 / 0.8383 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2686, allocations: 4 kB / 0.8383 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.269, allocations: 353.2 kB / 0.8386 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.269, allocations: 4 kB / 0.8386 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.2694, allocations: 79.83 kB / 0.8387 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2694, allocations: 0 / 0.8387 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.2694, allocations: 12 kB / 0.8387 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.2694, allocations: 3.984 kB / 0.8387 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2694, allocations: 0 / 0.8387 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.2705, allocations: 0.5825 MB / 0.8393 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.2705, allocations: 112.8 kB / 0.8394 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.2706, allocations: 8 kB / 0.8394 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.2708, allocations: 32.05 kB / 0.8394 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.271, allocations: 63.92 kB / 0.8395 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.271, allocations: 12 kB / 0.8395 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.403e-05/0.2711, allocations: 129.2 kB / 0.8396 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2711, allocations: 0 / 0.8396 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000313/0.2714, allocations: 76 kB / 0.8397 GB, free: 3.84 MB / 0.6544 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.0001846/0.2716, allocations: 123.2 kB / 0.8398 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007228/0.2723, allocations: 392 kB / 0.8402 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2724, allocations: 4 kB / 0.8402 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.2727, allocations: 191.7 kB / 0.8404 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.2731, allocations: 44.89 kB / 0.8404 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.2742, allocations: 0.6209 MB / 0.841 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.2745, allocations: 0.7685 MB / 0.8418 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.2746, allocations: 38.97 kB / 0.8418 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.2748, allocations: 35.44 kB / 0.8419 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of SimCode: time 1.803e-06/0.2748, allocations: 0 / 0.8419 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of Templates: time 0.007505/0.2823, allocations: 3.991 MB / 0.8458 GB, free: 13.61 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)