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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.715/1.715, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001023/0.001023, allocations: 178.6 kB / 371.6 MB, free: 3.387 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.654/1.654, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009506/0.0009507, allocations: 93.62 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.34e-05/4.342e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3019, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9187/1.221, allocations: 139.5 MB / 1.116 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/1.221, allocations: 70.84 kB / 1.116 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02129/1.242, allocations: 8.609 MB / 1.125 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.004e-06/1.242, allocations: 8 kB / 1.125 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.246e-05/1.242, allocations: 4.562 kB / 1.125 GB, free: 39.41 MB / 0.7448 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.001063/1.243, allocations: 0.6047 MB / 1.125 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.243, allocations: 8.031 kB / 1.125 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.454e-05/1.243, allocations: 56.98 kB / 1.125 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/1.244, allocations: 30.98 kB / 1.125 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/1.244, allocations: 196.4 kB / 1.125 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/1.244, allocations: 271.2 kB / 1.126 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/1.244, allocations: 34.72 kB / 1.126 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/1.245, allocations: 237 kB / 1.126 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/1.245, allocations: 7.422 kB / 1.126 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/1.245, allocations: 7.625 kB / 1.126 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.245, allocations: 4 kB / 1.126 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/1.245, allocations: 143.8 kB / 1.126 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/1.246, allocations: 0.8063 MB / 1.127 GB, free: 37.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/1.246, allocations: 189.9 kB / 1.127 GB, free: 37.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/1.246, allocations: 115.6 kB / 1.127 GB, free: 37.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/1.247, allocations: 11.84 kB / 1.127 GB, free: 37.08 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003751/1.247, allocations: 296.7 kB / 1.128 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.304e-06/1.247, allocations: 0 / 1.128 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0005942/1.248, allocations: 326 kB / 1.128 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/1.248, allocations: 126.1 kB / 1.128 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/1.248, allocations: 156.8 kB / 1.128 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/1.248, allocations: 41.08 kB / 1.128 GB, free: 36.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/1.248, allocations: 116.5 kB / 1.128 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.35e-05/1.248, allocations: 150.6 kB / 1.128 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/1.248, allocations: 15.69 kB / 1.128 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/1.248, allocations: 340.4 kB / 1.129 GB, free: 35.81 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/1.248, allocations: 127.6 kB / 1.129 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/1.248, allocations: 230.2 kB / 1.129 GB, free: 35.54 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/1.249, allocations: 149.8 kB / 1.129 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.249, allocations: 4 kB / 1.129 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005852/1.249, allocations: 448.8 kB / 1.13 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.249, allocations: 12.19 kB / 1.13 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.249, allocations: 0.5625 kB / 1.13 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.249, allocations: 8 kB / 1.13 GB, free: 35.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/1.25, allocations: 96.72 kB / 1.13 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/1.25, allocations: 8.922 kB / 1.13 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/1.25, allocations: 70.27 kB / 1.13 GB, free: 34.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/1.25, allocations: 18.22 kB / 1.13 GB, free: 34.98 MB / 0.7448 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.0001059/1.25, allocations: 154 kB / 1.13 GB, free: 34.85 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/1.25, allocations: 27.62 kB / 1.13 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-05/1.25, allocations: 34.41 kB / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.25, allocations: 8 kB / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.25, allocations: 3.719 kB / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/1.25, allocations: 0 / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/1.251, allocations: 368.3 kB / 1.13 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/1.251, allocations: 1.438 kB / 1.13 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/1.251, allocations: 77.08 kB / 1.131 GB, free: 34.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.251, allocations: 4 kB / 1.131 GB, free: 34.44 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/1.251, allocations: 13.98 kB / 1.131 GB, free: 34.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.251, allocations: 8.844 kB / 1.131 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.251, allocations: 0 / 1.131 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007294/1.252, allocations: 0.5497 MB / 1.131 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/1.252, allocations: 100.9 kB / 1.131 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/1.252, allocations: 18.47 kB / 1.131 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/1.252, allocations: 41.8 kB / 1.131 GB, free: 33.87 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/1.252, allocations: 41.39 kB / 1.131 GB, free: 33.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/1.252, allocations: 12.81 kB / 1.131 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.631e-05/1.252, allocations: 137.6 kB / 1.131 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.252, allocations: 0 / 1.131 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00028/1.253, allocations: 78.38 kB / 1.131 GB, free: 33.66 MB / 0.7448 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.0009329/1.254, allocations: 1.247 MB / 1.133 GB, free: 32.56 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004952/1.254, allocations: 348 kB / 1.133 GB, free: 32.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.254, allocations: 1.031 kB / 1.133 GB, free: 32.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002478/1.254, allocations: 173.1 kB / 1.133 GB, free: 32.2 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/1.255, allocations: 44.27 kB / 1.133 GB, free: 32.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/1.256, allocations: 0.5791 MB / 1.134 GB, free: 31.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/1.256, allocations: 0.7703 MB / 1.135 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001645/1.256, allocations: 45.16 kB / 1.135 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/1.256, allocations: 83.12 kB / 1.135 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/1.256, allocations: 0 / 1.135 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/1.29, allocations: 5.556 MB / 1.14 GB, free: 27.72 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/1.29, allocations: 163.5 kB / 1.14 GB, free: 27.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/3.331, allocations: 3.938 kB / 1.14 GB, free: 27.49 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)