Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.342/2.342, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001984/0.001984, allocations: 182.4 kB / 325.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.673/2.673, allocations: 205.4 MB / 0.5767 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008848/0.0008849, allocations: 96.41 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004722, allocations: 13.97 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.224, allocations: 106.3 MB / 0.8991 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.003494/0.2276, allocations: 1.685 MB / 0.9007 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.2295, allocations: 0.6556 MB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.2297, allocations: 4 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.773e-05/0.2298, allocations: 15.84 kB / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.23, allocations: 31.7 kB / 0.9014 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000665/0.2306, allocations: 115.8 kB / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004628/0.2311, allocations: 295.1 kB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.2314, allocations: 52.36 kB / 0.9019 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.2317, allocations: 107.7 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.232, allocations: 127.5 kB / 0.9021 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.92e-05/0.2321, allocations: 16 kB / 0.9021 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.397e-05/0.2321, allocations: 20 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.402e-05/0.2322, allocations: 63.78 kB / 0.9022 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.54e-05/0.2323, allocations: 65.58 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.2327, allocations: 203.7 kB / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2327, allocations: 0 / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2327, allocations: 0 / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2327, allocations: 0 / 0.9024 GB, free: 61.92 MB / 0.6042 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.002334/0.2351, allocations: 0.6043 MB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.2352, allocations: 12.03 kB / 0.903 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.2353, allocations: 32.56 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.2355, allocations: 200.9 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002762/0.2358, allocations: 268.2 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.2359, allocations: 32.36 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.237, allocations: 261.9 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.237, allocations: 8 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.2371, allocations: 12 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.2371, allocations: 4 kB / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.2382, allocations: 183.8 kB / 0.904 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.2403, allocations: 0.7814 MB / 0.9048 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008957/0.2413, allocations: 207.7 kB / 0.9049 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004148/0.2417, allocations: 138.5 kB / 0.9051 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.385e-05/0.2418, allocations: 15.86 kB / 0.9051 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00077/0.2426, allocations: 319.6 kB / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 2.996e-06/0.2426, allocations: 224 / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001629/0.2442, allocations: 0.5005 MB / 0.9059 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.2443, allocations: 110.8 kB / 0.906 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.2445, allocations: 179.4 kB / 0.9062 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.2446, allocations: 37.7 kB / 0.9062 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.2447, allocations: 129.2 kB / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.2448, allocations: 146 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.2449, allocations: 8 kB / 0.9065 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.245, allocations: 342.8 kB / 0.9068 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.2455, allocations: 149.2 kB / 0.9069 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.246, allocations: 260.7 kB / 0.9072 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/0.2466, allocations: 175.9 kB / 0.9074 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.2466, allocations: 4 kB / 0.9074 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001376/0.248, allocations: 0.4896 MB / 0.9078 GB, free: 56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.248, allocations: 7.984 kB / 0.9078 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.2481, allocations: 4 kB / 0.9079 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.2481, allocations: 4 kB / 0.9079 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/0.2488, allocations: 95.83 kB / 0.9079 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.2488, allocations: 12.09 kB / 0.908 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.2493, allocations: 67.66 kB / 0.908 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.2494, allocations: 23.98 kB / 0.908 GB, free: 55.79 MB / 0.6042 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.0002119/0.2496, allocations: 160 kB / 0.9082 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.2497, allocations: 27.66 kB / 0.9082 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.489e-05/0.2498, allocations: 37.86 kB / 0.9083 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.2498, allocations: 8 kB / 0.9083 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.2498, allocations: 3.938 kB / 0.9083 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.2498, allocations: 0 / 0.9083 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.2503, allocations: 357.1 kB / 0.9086 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.2503, allocations: 4 kB / 0.9086 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008189/0.2511, allocations: 79.83 kB / 0.9087 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.2511, allocations: 4 kB / 0.9087 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/0.2512, allocations: 8 kB / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.2512, allocations: 7.984 kB / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2512, allocations: 8.062 kB / 0.9087 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.2529, allocations: 0.5981 MB / 0.9093 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/0.253, allocations: 108.6 kB / 0.9094 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.2531, allocations: 8 kB / 0.9094 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.2535, allocations: 52.05 kB / 0.9095 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.2537, allocations: 40.12 kB / 0.9095 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.2538, allocations: 15.98 kB / 0.9095 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001061/0.2539, allocations: 129.2 kB / 0.9096 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2539, allocations: 0 / 0.9096 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004561/0.2544, allocations: 76 kB / 0.9097 GB, free: 53.98 MB / 0.6042 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.0001826/0.2545, allocations: 123.3 kB / 0.9098 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.2558, allocations: 386.6 kB / 0.9102 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2558, allocations: 4 kB / 0.9102 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.2564, allocations: 187.8 kB / 0.9104 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.257, allocations: 39.91 kB / 0.9104 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.2586, allocations: 0.7076 MB / 0.9111 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.2589, allocations: 0.7686 MB / 0.9119 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003738/0.2592, allocations: 34.97 kB / 0.9119 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.2594, allocations: 35.42 kB / 0.9119 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of SimCode: time 9.62e-07/0.2594, allocations: 0 / 0.9119 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.009572/0.269, allocations: 3.045 MB / 0.9149 GB, free: 48.63 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)