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.508/1.508, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001102/0.001102, allocations: 174.9 kB / 326.5 MB, free: 2.68 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.868/1.868, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0009177/0.0009179, allocations: 90.36 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004034, allocations: 14.03 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2373, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002118/0.2395, allocations: 1.756 MB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.2406, allocations: 0.7017 MB / 0.8992 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.2408, allocations: 0 / 0.8992 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.691e-05/0.2408, allocations: 11.86 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.241, allocations: 39.7 kB / 0.8992 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.2415, allocations: 131.8 kB / 0.8993 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.2418, allocations: 307.1 kB / 0.8996 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.242, allocations: 52.31 kB / 0.8997 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.2422, allocations: 115.6 kB / 0.8998 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.2424, allocations: 135.4 kB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.2425, allocations: 16 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.084e-05/0.2426, allocations: 12 kB / 0.9 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/0.2426, allocations: 59.8 kB / 0.9 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.2427, allocations: 119.4 kB / 0.9001 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.2429, allocations: 279 kB / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.243, allocations: 0 / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.243, allocations: 4 kB / 0.9004 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.243, allocations: 0 / 0.9004 GB, free: 64.39 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.001116/0.2441, allocations: 0.612 MB / 0.901 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.2442, allocations: 8.031 kB / 0.901 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.878e-05/0.2443, allocations: 36.56 kB / 0.901 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2444, allocations: 196.8 kB / 0.9012 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.2446, allocations: 268.3 kB / 0.9015 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/0.2446, allocations: 28.38 kB / 0.9015 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.2451, allocations: 269.8 kB / 0.9018 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.2451, allocations: 4 kB / 0.9018 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.2451, allocations: 11.98 kB / 0.9018 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.2452, allocations: 7.938 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.2455, allocations: 187.8 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000943/0.2465, allocations: 0.7777 MB / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.2469, allocations: 215.8 kB / 0.9029 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.2471, allocations: 142.5 kB / 0.9031 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.233e-05/0.2472, allocations: 8 kB / 0.9031 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004259/0.2476, allocations: 323.5 kB / 0.9034 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 2.264e-06/0.2476, allocations: 0 / 0.9034 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.0008745/0.2485, allocations: 0.5 MB / 0.9039 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.2486, allocations: 122.7 kB / 0.904 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.2487, allocations: 183.4 kB / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.2488, allocations: 37.7 kB / 0.9042 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.2488, allocations: 117.3 kB / 0.9043 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.699e-05/0.2489, allocations: 146 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.249, allocations: 61.67 kB / 0.9045 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.2491, allocations: 342.8 kB / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.2494, allocations: 153.2 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.2497, allocations: 260.8 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/0.2502, allocations: 402 kB / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2503, allocations: 0 / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007141/0.251, allocations: 0.5008 MB / 0.9061 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.251, allocations: 7.938 kB / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.251, allocations: 4 kB / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.2511, allocations: 7.938 kB / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.2514, allocations: 95.83 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.2514, allocations: 8 kB / 0.9062 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.2517, allocations: 75.64 kB / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.2517, allocations: 20 kB / 0.9063 GB, free: 57.91 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 (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.000139/0.2519, allocations: 156 kB / 0.9065 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.2519, allocations: 31.59 kB / 0.9065 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.252, allocations: 37.86 kB / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.252, allocations: 7.938 kB / 0.9065 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.252, allocations: 3.984 kB / 0.9065 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.2521, allocations: 104.7 kB / 0.9066 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.2521, allocations: 8 kB / 0.9066 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.2524, allocations: 47.97 kB / 0.9067 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.2525, allocations: 51.92 kB / 0.9067 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009292/0.2534, allocations: 0.6904 MB / 0.9074 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009404/0.2544, allocations: 0.8944 MB / 0.9083 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002873/0.2547, allocations: 192.9 kB / 0.9085 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.2547, allocations: 125.2 kB / 0.9086 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of Backend: time 5.31e-07/0.2547, allocations: 0 / 0.9086 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008629/0.2556, allocations: 364.1 kB / 0.9089 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008273/0.2564, allocations: 1.079 MB / 0.91 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.006505/0.263, allocations: 4.331 MB / 0.9142 GB, free: 49.74 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)