Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.876/2.876, allocations: 287.5 MB / 302.4 MB, free: 8.184 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.001505/0.001504, allocations: 165.1 kB / 371 MB, free: 10.77 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.087/2.087, allocations: 205.4 MB / 0.6297 GB, free: 10.46 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.001193/0.001192, allocations: 86.31 kB / 0.743 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006498/0.0006499, allocations: 13.66 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2209, allocations: 115.3 MB / 0.9784 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.225, allocations: 138.4 MB / 1.114 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/1.225, allocations: 73.95 kB / 1.114 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03522/1.26, allocations: 8.66 MB / 1.122 GB, free: 30.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.325e-06/1.26, allocations: 0 / 1.122 GB, free: 30.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.346e-05/1.26, allocations: 3.969 kB / 1.122 GB, free: 30.96 MB / 0.698 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.001629/1.262, allocations: 0.6208 MB / 1.123 GB, free: 30.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.262, allocations: 11.69 kB / 1.123 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.534e-05/1.262, allocations: 34.88 kB / 1.123 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/1.262, allocations: 197.6 kB / 1.123 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/1.263, allocations: 263.5 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/1.263, allocations: 30.75 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008298/1.263, allocations: 263 kB / 1.123 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/1.264, allocations: 7.656 kB / 1.123 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/1.264, allocations: 7.875 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/1.264, allocations: 7.562 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006973/1.264, allocations: 190.3 kB / 1.124 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/1.266, allocations: 0.7974 MB / 1.124 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/1.267, allocations: 218.6 kB / 1.125 GB, free: 29.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.794e-05/1.267, allocations: 11.36 kB / 1.125 GB, free: 29.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007947/1.268, allocations: 308.5 kB / 1.125 GB, free: 29.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 3.546e-06/1.268, allocations: 0 / 1.125 GB, free: 29.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001592/1.269, allocations: 0.4931 MB / 1.125 GB, free: 29.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/1.269, allocations: 125.2 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/1.27, allocations: 152.4 kB / 1.126 GB, free: 28.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/1.27, allocations: 37.39 kB / 1.126 GB, free: 28.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/1.27, allocations: 125.5 kB / 1.126 GB, free: 28.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/1.27, allocations: 150 kB / 1.126 GB, free: 28.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/1.27, allocations: 9.062 kB / 1.126 GB, free: 28.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.27, allocations: 346.7 kB / 1.126 GB, free: 28.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/1.271, allocations: 152.3 kB / 1.127 GB, free: 28.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/1.271, allocations: 250.7 kB / 1.127 GB, free: 28.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/1.272, allocations: 168.4 kB / 1.127 GB, free: 28.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.272, allocations: 3.844 kB / 1.127 GB, free: 28.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001309/1.273, allocations: 499.4 kB / 1.127 GB, free: 28.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.273, allocations: 7.719 kB / 1.127 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.273, allocations: 96 / 1.127 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/1.273, allocations: 11.48 kB / 1.127 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/1.274, allocations: 97.14 kB / 1.128 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/1.274, allocations: 3.906 kB / 1.128 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004736/1.274, allocations: 78.16 kB / 1.128 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/1.274, allocations: 18.81 kB / 1.128 GB, free: 28.24 MB / 0.698 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.0002507/1.275, allocations: 175.6 kB / 1.128 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/1.275, allocations: 27.16 kB / 1.128 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.655e-05/1.275, allocations: 27.44 kB / 1.128 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.275, allocations: 11.23 kB / 1.128 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.275, allocations: 3.812 kB / 1.128 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/1.275, allocations: 0 / 1.128 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/1.275, allocations: 361.1 kB / 1.128 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/1.275, allocations: 3.812 kB / 1.128 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/1.276, allocations: 75.94 kB / 1.128 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/1.276, allocations: 0 / 1.128 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/1.276, allocations: 13.83 kB / 1.128 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/1.276, allocations: 0 / 1.128 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.276, allocations: 7.656 kB / 1.128 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/1.278, allocations: 0.6201 MB / 1.129 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.121e-05/1.278, allocations: 103 kB / 1.129 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/1.278, allocations: 10.56 kB / 1.129 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/1.279, allocations: 48.8 kB / 1.129 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/1.279, allocations: 39 kB / 1.129 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/1.279, allocations: 16.58 kB / 1.129 GB, free: 27.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001266/1.279, allocations: 130.8 kB / 1.129 GB, free: 27.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.279, allocations: 0 / 1.129 GB, free: 27.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004979/1.279, allocations: 88.16 kB / 1.129 GB, free: 27.51 MB / 0.698 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.000219/1.28, allocations: 119.2 kB / 1.129 GB, free: 27.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001137/1.281, allocations: 395.5 kB / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.281, allocations: 0 / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005584/1.281, allocations: 177.3 kB / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/1.282, allocations: 36.64 kB / 1.13 GB, free: 27.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/1.283, allocations: 0.7073 MB / 1.131 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/1.284, allocations: 0.7756 MB / 1.131 GB, free: 26.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003995/1.284, allocations: 40.98 kB / 1.131 GB, free: 26.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/1.284, allocations: 32.06 kB / 1.132 GB, free: 26.27 MB / 0.698 GB Notification: Performance of SimCode: time 1.243e-06/1.284, allocations: 4 kB / 1.132 GB, free: 26.27 MB / 0.698 GB Notification: Performance of Templates: time 0.009191/1.294, allocations: 3.039 MB / 1.134 GB, free: 25.7 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)