Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.751/1.751, allocations: 287.4 MB / 303.2 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001252/0.001253, allocations: 185 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000773/0.000773, allocations: 101.3 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003913, allocations: 13.7 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2194, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.001699/0.2212, allocations: 1.613 MB / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008471/0.222, allocations: 0.6566 MB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.572e-05/0.2221, allocations: 0 / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.2221, allocations: 7.875 kB / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.2223, allocations: 31.7 kB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.2226, allocations: 119.8 kB / 0.9817 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.2228, allocations: 291.2 kB / 0.9819 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.223, allocations: 40.39 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.2231, allocations: 103.7 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.2232, allocations: 135.5 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.2233, allocations: 20 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.408e-05/0.2233, allocations: 12 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.2234, allocations: 59.8 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.2234, allocations: 65.58 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.2236, allocations: 215.7 kB / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2236, allocations: 3.938 kB / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2236, allocations: 0 / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2236, allocations: 0 / 0.9826 GB, free: 24.79 MB / 0.6198 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.0009847/0.2246, allocations: 0.6041 MB / 0.9832 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2247, allocations: 16.03 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.2248, allocations: 28.66 kB / 0.9832 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.237e-05/0.2249, allocations: 212.6 kB / 0.9834 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.225, allocations: 260.3 kB / 0.9837 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.2251, allocations: 28.38 kB / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.2255, allocations: 269.9 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.2255, allocations: 7.891 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.2256, allocations: 11.98 kB / 0.984 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.2256, allocations: 8 kB / 0.984 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.226, allocations: 183.8 kB / 0.9841 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.2269, allocations: 0.7893 MB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.2273, allocations: 207.7 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.2276, allocations: 142.5 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.2276, allocations: 4 kB / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004751/0.2281, allocations: 323.8 kB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.374e-06/0.2281, allocations: 0 / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0009537/0.2291, allocations: 499.2 kB / 0.986 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.2291, allocations: 118.8 kB / 0.9862 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.2292, allocations: 179.4 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.2293, allocations: 41.7 kB / 0.9864 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.2293, allocations: 117.2 kB / 0.9865 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.012e-05/0.2294, allocations: 150 kB / 0.9866 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.2295, allocations: 8 kB / 0.9866 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.2296, allocations: 342.8 kB / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.2298, allocations: 153.2 kB / 0.9871 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.2302, allocations: 256.7 kB / 0.9873 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.2307, allocations: 398.1 kB / 0.9877 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2307, allocations: 0 / 0.9877 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007133/0.2314, allocations: 492.9 kB / 0.9882 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.2315, allocations: 11.94 kB / 0.9882 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.2315, allocations: 7.984 kB / 0.9882 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.2315, allocations: 8 kB / 0.9882 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.2319, allocations: 95.83 kB / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2319, allocations: 8.641 kB / 0.9883 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.2322, allocations: 71.66 kB / 0.9884 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.2322, allocations: 28 kB / 0.9884 GB, free: 18.39 MB / 0.6198 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 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.2323, allocations: 168.2 kB / 0.9886 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.2324, allocations: 31.59 kB / 0.9886 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.478e-05/0.2324, allocations: 29.88 kB / 0.9886 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.2325, allocations: 3.984 kB / 0.9886 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2325, allocations: 0 / 0.9886 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.2325, allocations: 108.8 kB / 0.9887 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.2326, allocations: 11.98 kB / 0.9888 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.2328, allocations: 39.97 kB / 0.9888 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.2329, allocations: 39.94 kB / 0.9888 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001001/0.2339, allocations: 0.6942 MB / 0.9895 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009962/0.2349, allocations: 0.8904 MB / 0.9904 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002863/0.2352, allocations: 171.8 kB / 0.9905 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.262e-05/0.2353, allocations: 125.2 kB / 0.9907 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of Backend: time 6.01e-07/0.2353, allocations: 0 / 0.9907 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009542/0.2363, allocations: 366.8 kB / 0.991 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0008829/0.2372, allocations: 1.085 MB / 0.9921 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.006456/0.2436, allocations: 3.956 MB / 0.9959 GB, free: 10.63 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)