Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.548/2.548, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001429/0.001429, allocations: 172.9 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001098, allocations: 85.39 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.137e-05, allocations: 8 kB / 0.8509 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8505/0.8506, allocations: 115.3 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2419/1.093, allocations: 137.7 MB / 1.098 GB, free: 2.723 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/1.093, allocations: 70.69 kB / 1.098 GB, free: 2.656 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04175/1.135, allocations: 8.567 MB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/1.135, allocations: 0 / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.385e-05/1.135, allocations: 8 kB / 1.106 GB, free: 10.16 MB / 0.7136 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.001817/1.137, allocations: 0.6061 MB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/1.137, allocations: 8.031 kB / 1.107 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/1.137, allocations: 27.72 kB / 1.107 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/1.137, allocations: 191.6 kB / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002842/1.137, allocations: 255.8 kB / 1.107 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/1.137, allocations: 19.98 kB / 1.107 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001373/1.139, allocations: 136.8 kB / 1.108 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009849/1.14, allocations: 221.5 kB / 1.108 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/1.14, allocations: 7.906 kB / 1.108 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/1.14, allocations: 3.984 kB / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/1.14, allocations: 4 kB / 1.108 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/1.142, allocations: 0.7512 MB / 1.108 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/1.143, allocations: 168.2 kB / 1.109 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/1.143, allocations: 111 kB / 1.109 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.797e-05/1.143, allocations: 23.66 kB / 1.109 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006517/1.144, allocations: 272.5 kB / 1.109 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 3.967e-06/1.144, allocations: 0 / 1.109 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0009942/1.145, allocations: 304.5 kB / 1.109 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/1.145, allocations: 118.8 kB / 1.109 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/1.145, allocations: 158.5 kB / 1.11 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/1.145, allocations: 29.7 kB / 1.11 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/1.145, allocations: 113.3 kB / 1.11 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/1.145, allocations: 150 kB / 1.11 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/1.145, allocations: 0 / 1.11 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001696/1.146, allocations: 334.8 kB / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/1.146, allocations: 121.5 kB / 1.11 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/1.146, allocations: 220.5 kB / 1.111 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/1.147, allocations: 131.4 kB / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/1.147, allocations: 4 kB / 1.111 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001136/1.148, allocations: 401.1 kB / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/1.148, allocations: 8 kB / 1.111 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.148, allocations: 4 kB / 1.111 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/1.148, allocations: 4 kB / 1.111 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007833/1.149, allocations: 103.8 kB / 1.111 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/1.149, allocations: 4 kB / 1.111 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/1.15, allocations: 63.22 kB / 1.111 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/1.15, allocations: 20 kB / 1.111 GB, free: 4.797 MB / 0.7136 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 () * 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.0002064/1.15, allocations: 130.8 kB / 1.111 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008756/1.151, allocations: 309 kB / 1.112 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/1.151, allocations: 23.72 kB / 1.112 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/1.151, allocations: 26.06 kB / 1.112 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.151, allocations: 7.984 kB / 1.112 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.151, allocations: 11.98 kB / 1.112 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.151, allocations: 0 / 1.112 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/1.151, allocations: 309.7 kB / 1.112 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.151, allocations: 0 / 1.112 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/1.152, allocations: 79.89 kB / 1.112 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/1.152, allocations: 7.938 kB / 1.112 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.218e-05/1.153, allocations: 8.828 kB / 1.112 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-06/1.153, allocations: 3.938 kB / 1.112 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.153, allocations: 0.9375 kB / 1.112 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/1.154, allocations: 0.5293 MB / 1.113 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/1.154, allocations: 100.8 kB / 1.113 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/1.154, allocations: 4 kB / 1.113 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/1.155, allocations: 39.95 kB / 1.113 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.155, allocations: 37.64 kB / 1.113 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/1.155, allocations: 23.92 kB / 1.113 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001376/1.155, allocations: 120.1 kB / 1.113 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.155, allocations: 0 / 1.113 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005236/1.156, allocations: 67.91 kB / 1.113 GB, free: 2.887 MB / 0.7136 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 () * 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.001867/1.158, allocations: 1.204 MB / 1.114 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000986/1.159, allocations: 333.8 kB / 1.115 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.159, allocations: 0 / 1.115 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004541/1.159, allocations: 151.9 kB / 1.115 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/1.16, allocations: 25.34 kB / 1.115 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/1.161, allocations: 0.5463 MB / 1.115 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/1.162, allocations: 0.7724 MB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003296/1.162, allocations: 39.28 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/1.163, allocations: 87.39 kB / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of SimCode: time 1.533e-06/1.163, allocations: 0 / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04373/1.206, allocations: 5.076 MB / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/1.207, allocations: 167.7 kB / 1.121 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.94, allocations: 2.031 kB / 1.121 GB, free: 10.48 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)