Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 113.8 kB / 16.38 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 186.7 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.035/2.035, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 72.12 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2494, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.004269/0.2537, allocations: 1.975 MB / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.2554, allocations: 0.6865 MB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.2556, allocations: 8 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.645e-05/0.2557, allocations: 19.69 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.2559, allocations: 39.58 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.2566, allocations: 155.7 kB / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5956/0.8521, allocations: 319.6 kB / 0.7879 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.8525, allocations: 40.05 kB / 0.788 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004004/0.8529, allocations: 132.5 kB / 0.7881 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.8531, allocations: 152.3 kB / 0.7882 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.065e-05/0.8532, allocations: 33.25 kB / 0.7883 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.979e-05/0.8533, allocations: 29.19 kB / 0.7883 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.8534, allocations: 77.78 kB / 0.7884 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.8535, allocations: 134.8 kB / 0.7885 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.8539, allocations: 314.2 kB / 0.7888 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.8539, allocations: 0 / 0.7888 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8539, allocations: 0 / 0.7888 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.854, allocations: 0 / 0.7888 GB, free: 46.52 MB / 0.6544 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.001301/0.8553, allocations: 0.6209 MB / 0.7894 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.8553, allocations: 11.28 kB / 0.7894 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.38e-05/0.8554, allocations: 30.84 kB / 0.7895 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.8556, allocations: 197.6 kB / 0.7896 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.8558, allocations: 269.9 kB / 0.7899 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/0.8559, allocations: 33.09 kB / 0.7899 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.8564, allocations: 257.7 kB / 0.7902 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.8564, allocations: 5.156 kB / 0.7902 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.8564, allocations: 8.094 kB / 0.7902 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.8565, allocations: 9.156 kB / 0.7902 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/0.8569, allocations: 177.4 kB / 0.7904 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.858, allocations: 0.7804 MB / 0.7911 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.8584, allocations: 205.1 kB / 0.7913 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.8587, allocations: 134.6 kB / 0.7915 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.8587, allocations: 7.938 kB / 0.7915 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005582/0.8593, allocations: 320 kB / 0.7918 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 2.134e-06/0.8593, allocations: 0 / 0.7918 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.0009968/0.8603, allocations: 484.5 kB / 0.7922 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.8604, allocations: 114.2 kB / 0.7923 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.8605, allocations: 175 kB / 0.7925 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.8606, allocations: 43.53 kB / 0.7925 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.8607, allocations: 118 kB / 0.7927 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.934e-05/0.8608, allocations: 145.5 kB / 0.7928 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.8609, allocations: 109.5 kB / 0.7929 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.861, allocations: 341.9 kB / 0.7932 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.8613, allocations: 151.2 kB / 0.7934 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.8616, allocations: 255.7 kB / 0.7936 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/0.8622, allocations: 390.3 kB / 0.794 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.8622, allocations: 0 / 0.794 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008045/0.8631, allocations: 0.4888 MB / 0.7945 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.8631, allocations: 9.188 kB / 0.7945 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.8631, allocations: 2.625 kB / 0.7945 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.8631, allocations: 5.25 kB / 0.7945 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.8635, allocations: 98.27 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.8635, allocations: 9.906 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.8638, allocations: 58.34 kB / 0.7946 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.8638, allocations: 21.34 kB / 0.7947 GB, free: 43.82 MB / 0.6544 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.0001738/0.864, allocations: 158.6 kB / 0.7948 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.8641, allocations: 33.59 kB / 0.7948 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.727e-05/0.8641, allocations: 30.75 kB / 0.7949 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.8642, allocations: 7.422 kB / 0.7949 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.8642, allocations: 0 / 0.7949 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.8642, allocations: 107.4 kB / 0.795 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.8643, allocations: 12.75 kB / 0.795 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.8645, allocations: 29.61 kB / 0.795 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.8646, allocations: 58.83 kB / 0.7951 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001029/0.8657, allocations: 0.6631 MB / 0.7957 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001112/0.8668, allocations: 0.8807 MB / 0.7966 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003246/0.8671, allocations: 173.3 kB / 0.7967 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.096e-05/0.8672, allocations: 128.6 kB / 0.7969 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of Backend: time 8.41e-07/0.8672, allocations: 0 / 0.7969 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009896/0.8682, allocations: 354.3 kB / 0.7972 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001071/0.8693, allocations: 0.9909 MB / 0.7982 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.01191/0.8812, allocations: 4.988 MB / 0.803 GB, free: 41.86 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)