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/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 252 MB / 268 MB, free: 10.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 164.6 kB / 327.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 0.5786 GB, free: 20.06 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008187/0.0008183, allocations: 94.3 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 15.25 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2281, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002061/0.2302, allocations: 1.735 MB / 0.9032 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2313, allocations: 0.6862 MB / 0.9038 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.2315, allocations: 0 / 0.9038 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.2315, allocations: 15.8 kB / 0.9039 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.2317, allocations: 35.7 kB / 0.9039 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.2321, allocations: 135.8 kB / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.2324, allocations: 307.1 kB / 0.9043 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2325, allocations: 44.39 kB / 0.9044 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.2327, allocations: 107.7 kB / 0.9045 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.2329, allocations: 139.4 kB / 0.9046 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.233, allocations: 12 kB / 0.9046 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-05/0.233, allocations: 16 kB / 0.9046 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.2331, allocations: 59.8 kB / 0.9047 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.2332, allocations: 149.1 kB / 0.9048 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.2334, allocations: 207.7 kB / 0.905 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2335, allocations: 0 / 0.905 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2335, allocations: 3.938 kB / 0.905 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.2335, allocations: 0 / 0.905 GB, free: 59.83 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.001148/0.2346, allocations: 0.6042 MB / 0.9056 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2347, allocations: 8.031 kB / 0.9056 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.557e-05/0.2348, allocations: 36.56 kB / 0.9057 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2349, allocations: 200.8 kB / 0.9058 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.2351, allocations: 272.3 kB / 0.9061 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.2351, allocations: 24.38 kB / 0.9061 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.2356, allocations: 265.9 kB / 0.9064 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.2356, allocations: 4 kB / 0.9064 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.2356, allocations: 8 kB / 0.9064 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2357, allocations: 11.98 kB / 0.9064 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.2361, allocations: 179.8 kB / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009415/0.237, allocations: 0.7892 MB / 0.9073 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.2375, allocations: 211.7 kB / 0.9076 GB, free: 57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.2377, allocations: 150.4 kB / 0.9077 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.2378, allocations: 7.984 kB / 0.9077 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004836/0.2383, allocations: 315.6 kB / 0.908 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.517e-06/0.2383, allocations: 0 / 0.908 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.0009235/0.2392, allocations: 0.5001 MB / 0.9085 GB, free: 56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.2393, allocations: 114.8 kB / 0.9086 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2394, allocations: 183.4 kB / 0.9088 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.2394, allocations: 41.64 kB / 0.9088 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.2395, allocations: 113.3 kB / 0.9089 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/0.2396, allocations: 154 kB / 0.9091 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.2396, allocations: 12 kB / 0.9091 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.299e-05/0.2397, allocations: 346.8 kB / 0.9094 GB, free: 55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.24, allocations: 149.2 kB / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.2403, allocations: 264.7 kB / 0.9098 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/0.2408, allocations: 398.1 kB / 0.9102 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2408, allocations: 4 kB / 0.9102 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007513/0.2416, allocations: 0.4931 MB / 0.9107 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2416, allocations: 4 kB / 0.9107 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2416, allocations: 7.984 kB / 0.9107 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.2417, allocations: 8 kB / 0.9107 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.242, allocations: 99.83 kB / 0.9108 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.242, allocations: 7.938 kB / 0.9108 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.2423, allocations: 67.66 kB / 0.9109 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.2424, allocations: 24 kB / 0.9109 GB, free: 53.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.2425, allocations: 167.9 kB / 0.911 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.2425, allocations: 27.66 kB / 0.9111 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.2426, allocations: 29.88 kB / 0.9111 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2426, allocations: 8.078 kB / 0.9111 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.2426, allocations: 3.984 kB / 0.9111 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2426, allocations: 4 kB / 0.9111 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.2429, allocations: 361.1 kB / 0.9115 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2429, allocations: 0 / 0.9115 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.2433, allocations: 83.83 kB / 0.9115 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.2433, allocations: 4 kB / 0.9115 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.2434, allocations: 12 kB / 0.9116 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2434, allocations: 4 kB / 0.9116 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2434, allocations: 0 / 0.9116 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008868/0.2443, allocations: 0.594 MB / 0.9121 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.2443, allocations: 108.9 kB / 0.9122 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.2444, allocations: 16 kB / 0.9123 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.2446, allocations: 43.91 kB / 0.9123 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.905e-05/0.2447, allocations: 39.94 kB / 0.9123 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.2448, allocations: 23.98 kB / 0.9124 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.589e-05/0.2448, allocations: 121.2 kB / 0.9125 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2448, allocations: 0 / 0.9125 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000317/0.2452, allocations: 80 kB / 0.9125 GB, free: 51.6 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 (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.0001624/0.2453, allocations: 123.9 kB / 0.9127 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000635/0.246, allocations: 392.1 kB / 0.913 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.246, allocations: 0 / 0.913 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.2463, allocations: 187.7 kB / 0.9132 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.2466, allocations: 53.62 kB / 0.9133 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.2477, allocations: 0.7478 MB / 0.914 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.2478, allocations: 0.7686 MB / 0.9148 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.248, allocations: 35.44 kB / 0.9148 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.248, allocations: 0 / 0.9148 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.005587/0.2536, allocations: 3.947 MB / 0.9186 GB, free: 45.32 MB / 0.6042 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)