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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",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.754/1.754, allocations: 288.2 MB / 303.2 MB, free: 8.066 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.001389/0.001389, allocations: 177 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.81/1.81, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001377/0.001377, allocations: 86.86 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004311, allocations: 14 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2522, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8838/1.136, allocations: 138.6 MB / 1.115 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.136, allocations: 74.73 kB / 1.115 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02241/1.159, allocations: 8.66 MB / 1.123 GB, free: 31.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.845e-06/1.159, allocations: 0 / 1.123 GB, free: 31.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.748e-05/1.159, allocations: 3.906 kB / 1.123 GB, free: 31.42 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.001451/1.16, allocations: 0.6315 MB / 1.124 GB, free: 30.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.16, allocations: 11.64 kB / 1.124 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/1.161, allocations: 56.11 kB / 1.124 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/1.161, allocations: 38.31 kB / 1.124 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/1.161, allocations: 190 kB / 1.124 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/1.161, allocations: 266.1 kB / 1.125 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.037e-05/1.161, allocations: 28.19 kB / 1.125 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/1.162, allocations: 255.8 kB / 1.125 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/1.162, allocations: 11.86 kB / 1.125 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/1.162, allocations: 10.08 kB / 1.125 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/1.162, allocations: 3.875 kB / 1.125 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/1.162, allocations: 188.7 kB / 1.125 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/1.164, allocations: 0.8019 MB / 1.126 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/1.164, allocations: 218.4 kB / 1.126 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/1.164, allocations: 14.91 kB / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005105/1.165, allocations: 306.4 kB / 1.126 GB, free: 29.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 3.236e-06/1.165, allocations: 0 / 1.126 GB, free: 29.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.000979/1.166, allocations: 0.4964 MB / 1.127 GB, free: 29.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/1.166, allocations: 117.6 kB / 1.127 GB, free: 29.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/1.166, allocations: 158.6 kB / 1.127 GB, free: 29.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/1.166, allocations: 36.33 kB / 1.127 GB, free: 29.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/1.166, allocations: 120.2 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/1.166, allocations: 150.8 kB / 1.127 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/1.166, allocations: 11.31 kB / 1.127 GB, free: 29.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.166, allocations: 343.7 kB / 1.128 GB, free: 28.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/1.167, allocations: 152.8 kB / 1.128 GB, free: 28.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/1.167, allocations: 250.2 kB / 1.128 GB, free: 28.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/1.167, allocations: 171.4 kB / 1.128 GB, free: 28.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.167, allocations: 3.875 kB / 1.128 GB, free: 28.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007659/1.168, allocations: 0.4892 MB / 1.129 GB, free: 28.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.168, allocations: 11.69 kB / 1.129 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/1.168, allocations: 0 / 1.129 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/1.168, allocations: 11.56 kB / 1.129 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/1.169, allocations: 97.19 kB / 1.129 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.169, allocations: 10.72 kB / 1.129 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/1.169, allocations: 76.89 kB / 1.129 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/1.169, allocations: 22.94 kB / 1.129 GB, free: 28.66 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.0002075/1.169, allocations: 160.1 kB / 1.129 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/1.169, allocations: 25.86 kB / 1.129 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.508e-05/1.169, allocations: 36.19 kB / 1.129 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/1.169, allocations: 6.875 kB / 1.129 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.169, allocations: 4 kB / 1.129 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/1.169, allocations: 0 / 1.129 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/1.17, allocations: 361.3 kB / 1.129 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.17, allocations: 4 kB / 1.13 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/1.17, allocations: 77.39 kB / 1.13 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.158e-05/1.17, allocations: 3.844 kB / 1.13 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/1.17, allocations: 13.92 kB / 1.13 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/1.17, allocations: 3.969 kB / 1.13 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.17, allocations: 0 / 1.13 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/1.171, allocations: 0.6245 MB / 1.13 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/1.172, allocations: 100.5 kB / 1.13 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/1.172, allocations: 10.81 kB / 1.13 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/1.172, allocations: 45.97 kB / 1.13 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/1.172, allocations: 42.16 kB / 1.13 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/1.172, allocations: 13.08 kB / 1.13 GB, free: 28.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001008/1.172, allocations: 129.6 kB / 1.131 GB, free: 27.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.172, allocations: 0 / 1.131 GB, free: 27.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003575/1.173, allocations: 84.86 kB / 1.131 GB, free: 27.94 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.001418/1.174, allocations: 1.319 MB / 1.132 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006966/1.175, allocations: 397.1 kB / 1.132 GB, free: 27.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.175, allocations: 0 / 1.132 GB, free: 27.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003105/1.175, allocations: 189.8 kB / 1.132 GB, free: 27.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/1.175, allocations: 44.89 kB / 1.133 GB, free: 27.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/1.178, allocations: 2.688 MB / 1.135 GB, free: 24.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/1.178, allocations: 0.7737 MB / 1.136 GB, free: 24.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002043/1.178, allocations: 38.38 kB / 1.136 GB, free: 24.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/1.179, allocations: 84.73 kB / 1.136 GB, free: 24.02 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/1.179, allocations: 3.844 kB / 1.136 GB, free: 24.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/1.197, allocations: 5.445 MB / 1.141 GB, free: 21.62 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/1.197, allocations: 201 kB / 1.142 GB, free: 21.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/3.302, allocations: 3.938 kB / 1.142 GB, free: 21.38 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)