Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.874/1.874, allocations: 288.2 MB / 303.2 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 192.4 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009995/0.0009996, allocations: 99.48 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004376, allocations: 14.28 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2631, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8843/1.147, allocations: 138.6 MB / 1.115 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/1.148, allocations: 72.72 kB / 1.115 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02267/1.17, allocations: 8.657 MB / 1.123 GB, free: 31.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.508e-06/1.171, allocations: 0 / 1.123 GB, free: 31.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.838e-05/1.171, allocations: 7.688 kB / 1.123 GB, free: 31.73 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.002046/1.173, allocations: 0.6316 MB / 1.124 GB, free: 31.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.54e-05/1.173, allocations: 7.688 kB / 1.124 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000247/1.173, allocations: 59.66 kB / 1.124 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/1.173, allocations: 30.94 kB / 1.124 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/1.174, allocations: 197.8 kB / 1.124 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/1.174, allocations: 267.3 kB / 1.125 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/1.174, allocations: 26.44 kB / 1.125 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006171/1.175, allocations: 260.8 kB / 1.125 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/1.175, allocations: 11.67 kB / 1.125 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/1.175, allocations: 7.75 kB / 1.125 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/1.175, allocations: 7.719 kB / 1.125 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/1.175, allocations: 186.1 kB / 1.125 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/1.177, allocations: 0.8006 MB / 1.126 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/1.177, allocations: 213.7 kB / 1.126 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.78e-05/1.177, allocations: 14.06 kB / 1.126 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006809/1.178, allocations: 308.2 kB / 1.126 GB, free: 30.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 3.397e-06/1.178, allocations: 0 / 1.126 GB, free: 30.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001031/1.179, allocations: 0.4966 MB / 1.127 GB, free: 29.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.442e-05/1.179, allocations: 117.9 kB / 1.127 GB, free: 29.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/1.179, allocations: 157.1 kB / 1.127 GB, free: 29.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/1.179, allocations: 39.2 kB / 1.127 GB, free: 29.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/1.179, allocations: 122.4 kB / 1.127 GB, free: 29.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/1.18, allocations: 148.5 kB / 1.127 GB, free: 29.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/1.18, allocations: 9.938 kB / 1.127 GB, free: 29.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.18, allocations: 348 kB / 1.128 GB, free: 29.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/1.18, allocations: 151.2 kB / 1.128 GB, free: 29.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/1.18, allocations: 252.8 kB / 1.128 GB, free: 29.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/1.181, allocations: 169.1 kB / 1.128 GB, free: 29.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.181, allocations: 3.969 kB / 1.128 GB, free: 29.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007209/1.181, allocations: 495.7 kB / 1.129 GB, free: 29.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.181, allocations: 3.844 kB / 1.129 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/1.181, allocations: 7.781 kB / 1.129 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/1.182, allocations: 10.45 kB / 1.129 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/1.182, allocations: 100.1 kB / 1.129 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/1.182, allocations: 7.812 kB / 1.129 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/1.182, allocations: 73.23 kB / 1.129 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/1.182, allocations: 26.05 kB / 1.129 GB, free: 28.97 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.000202/1.182, allocations: 162.7 kB / 1.129 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/1.182, allocations: 26.36 kB / 1.129 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/1.183, allocations: 31.75 kB / 1.129 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.183, allocations: 7.781 kB / 1.129 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.183, allocations: 0 / 1.129 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.183, allocations: 6.344 kB / 1.129 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/1.183, allocations: 366.2 kB / 1.13 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.183, allocations: 0 / 1.13 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/1.183, allocations: 72.53 kB / 1.13 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/1.183, allocations: 7.875 kB / 1.13 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/1.183, allocations: 13.42 kB / 1.13 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/1.183, allocations: 3.875 kB / 1.13 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.183, allocations: 0 / 1.13 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000951/1.184, allocations: 0.6265 MB / 1.13 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/1.184, allocations: 104.3 kB / 1.13 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/1.185, allocations: 12.44 kB / 1.13 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/1.185, allocations: 44.45 kB / 1.13 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.185, allocations: 37.78 kB / 1.13 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/1.185, allocations: 17.64 kB / 1.13 GB, free: 28.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.919e-05/1.185, allocations: 125.3 kB / 1.131 GB, free: 28.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/1.185, allocations: 0 / 1.131 GB, free: 28.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003272/1.185, allocations: 85.34 kB / 1.131 GB, free: 28.24 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.001451/1.187, allocations: 1.321 MB / 1.132 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006895/1.188, allocations: 396.2 kB / 1.132 GB, free: 27.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.188, allocations: 3.844 kB / 1.132 GB, free: 27.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/1.188, allocations: 179.7 kB / 1.132 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.0002732/1.188, allocations: 44.23 kB / 1.133 GB, free: 27.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/1.19, allocations: 2.688 MB / 1.135 GB, free: 25.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/1.191, allocations: 0.7789 MB / 1.136 GB, free: 24.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001795/1.191, allocations: 35.23 kB / 1.136 GB, free: 24.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/1.191, allocations: 85.89 kB / 1.136 GB, free: 24.32 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/1.191, allocations: 3.938 kB / 1.136 GB, free: 24.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/1.208, allocations: 5.45 MB / 1.141 GB, free: 21.98 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/1.208, allocations: 226.5 kB / 1.142 GB, free: 21.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/3.343, allocations: 0 / 1.142 GB, free: 21.73 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)