Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.554/2.554, allocations: 287.9 MB / 302.9 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001497, allocations: 177.5 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.307/2.307, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001018, allocations: 98.91 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004638, allocations: 15.12 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2221, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.001808/0.224, allocations: 1.606 MB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.225, allocations: 0.6637 MB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.721e-05/0.2251, allocations: 4 kB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.2251, allocations: 15.8 kB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.2253, allocations: 43.92 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.2257, allocations: 119.7 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.2259, allocations: 187.6 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.226, allocations: 40.39 kB / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2262, allocations: 107.7 kB / 0.9815 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.2264, allocations: 135.5 kB / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.539e-05/0.2264, allocations: 12 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.353e-05/0.2265, allocations: 16 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.2266, allocations: 63.72 kB / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.2266, allocations: 69.58 kB / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.2268, allocations: 199.7 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.646e-06/0.2268, allocations: 0 / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.961e-06/0.2269, allocations: 4 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.2269, allocations: 4 kB / 0.982 GB, free: 24.88 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.001106/0.228, allocations: 0.608 MB / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.228, allocations: 8.031 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.891e-05/0.2281, allocations: 27.72 kB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2283, allocations: 207.4 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.2284, allocations: 267.8 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.2285, allocations: 27.91 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.2291, allocations: 261.8 kB / 0.9833 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.2292, allocations: 7.984 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.2292, allocations: 4 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.917e-06/0.2292, allocations: 8 kB / 0.9833 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/0.2298, allocations: 188.7 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.231, allocations: 0.7778 MB / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.2316, allocations: 208.3 kB / 0.9845 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/0.2317, allocations: 16.12 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006206/0.2323, allocations: 324 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.978e-06/0.2323, allocations: 0 / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001294/0.2336, allocations: 495.5 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.2337, allocations: 122.7 kB / 0.9854 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.2339, allocations: 179.4 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.2339, allocations: 41.7 kB / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.234, allocations: 117.2 kB / 0.9857 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.2341, allocations: 150 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.2342, allocations: 19.94 kB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.2343, allocations: 338.8 kB / 0.9862 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.2347, allocations: 149.2 kB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.2351, allocations: 256.8 kB / 0.9866 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.2356, allocations: 167.9 kB / 0.9867 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2356, allocations: 0 / 0.9867 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001112/0.2367, allocations: 0.4935 MB / 0.9872 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2368, allocations: 8 kB / 0.9872 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.2368, allocations: 64 / 0.9872 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.2368, allocations: 12 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.2373, allocations: 95.83 kB / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.2373, allocations: 7.984 kB / 0.9873 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.2377, allocations: 71.66 kB / 0.9874 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.2378, allocations: 24 kB / 0.9874 GB, free: 18.9 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.000206/0.238, allocations: 159.9 kB / 0.9876 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.2381, allocations: 35.64 kB / 0.9876 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.22e-05/0.2381, allocations: 33.88 kB / 0.9876 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.2382, allocations: 4 kB / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.266e-06/0.2382, allocations: 4 kB / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.752e-06/0.2382, allocations: 3.984 kB / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.2386, allocations: 353.2 kB / 0.988 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.2386, allocations: 3.984 kB / 0.988 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.2391, allocations: 75.91 kB / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.2391, allocations: 0 / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.2392, allocations: 19.94 kB / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.142e-06/0.2392, allocations: 4 kB / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2392, allocations: 0 / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.2406, allocations: 0.6208 MB / 0.9887 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.2407, allocations: 100.8 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/0.2407, allocations: 15.98 kB / 0.9888 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.2411, allocations: 43.97 kB / 0.9889 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.2412, allocations: 39.94 kB / 0.9889 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.2412, allocations: 12 kB / 0.9889 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.532e-05/0.2413, allocations: 129.1 kB / 0.989 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.03e-07/0.2414, allocations: 4 kB / 0.989 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004478/0.2418, allocations: 83.91 kB / 0.9891 GB, free: 17.06 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001768/0.242, allocations: 117.2 kB / 0.9892 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009696/0.243, allocations: 394.6 kB / 0.9896 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.977e-06/0.243, allocations: 0 / 0.9896 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004721/0.2435, allocations: 189.5 kB / 0.9898 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.2438, allocations: 47.03 kB / 0.9898 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.2451, allocations: 0.7062 MB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.2453, allocations: 0.7686 MB / 0.9913 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002244/0.2455, allocations: 39.09 kB / 0.9913 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.2457, allocations: 35.42 kB / 0.9913 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of SimCode: time 1.602e-06/0.2457, allocations: 0 / 0.9913 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of Templates: time 0.007923/0.2536, allocations: 3.02 MB / 0.9943 GB, free: 11.73 MB / 0.6198 GB