Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009383/0.0009382, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009988/0.000999, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.863/1.863, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005919/0.000592, allocations: 22.16 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2958, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002011/0.2979, allocations: 1.614 MB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.2988, allocations: 0.652 MB / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.2989, allocations: 0 / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.2989, allocations: 11.86 kB / 0.7895 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.741e-05/0.299, allocations: 43.86 kB / 0.7895 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.2993, allocations: 127.7 kB / 0.7896 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.2995, allocations: 191.6 kB / 0.7898 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2996, allocations: 36.39 kB / 0.7898 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.2998, allocations: 107.7 kB / 0.79 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.2999, allocations: 131.4 kB / 0.7901 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.3, allocations: 20 kB / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.178e-05/0.3, allocations: 16 kB / 0.7901 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.3001, allocations: 59.8 kB / 0.7902 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.3001, allocations: 61.58 kB / 0.7902 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.3003, allocations: 215.7 kB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.3003, allocations: 0 / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3003, allocations: 0 / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.3003, allocations: 0 / 0.7904 GB, free: 8.59 MB / 0.6075 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.0009921/0.3013, allocations: 0.608 MB / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.3014, allocations: 12.03 kB / 0.791 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.033e-05/0.3015, allocations: 70.52 kB / 0.7911 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.3015, allocations: 27.72 kB / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3017, allocations: 203.5 kB / 0.7913 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.3019, allocations: 259.8 kB / 0.7916 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.302, allocations: 39.89 kB / 0.7916 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.3024, allocations: 257.8 kB / 0.7919 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3024, allocations: 4 kB / 0.7919 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.3024, allocations: 8 kB / 0.7919 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3025, allocations: 4 kB / 0.7919 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.3028, allocations: 188.5 kB / 0.7921 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009256/0.3038, allocations: 0.7816 MB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.3042, allocations: 212.3 kB / 0.793 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.3043, allocations: 12.55 kB / 0.793 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005076/0.3048, allocations: 323.4 kB / 0.7933 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.583e-06/0.3048, allocations: 0 / 0.7933 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009103/0.3057, allocations: 0.489 MB / 0.7938 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.3058, allocations: 114.8 kB / 0.7939 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.306, allocations: 180.6 kB / 0.7941 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.306, allocations: 37.7 kB / 0.7941 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.3061, allocations: 117.2 kB / 0.7942 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.3062, allocations: 150 kB / 0.7944 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.3062, allocations: 8 kB / 0.7944 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3064, allocations: 350.8 kB / 0.7947 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.3066, allocations: 149.2 kB / 0.7949 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.307, allocations: 248.8 kB / 0.7951 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.3073, allocations: 171.9 kB / 0.7953 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.3073, allocations: 4 kB / 0.7953 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007766/0.3081, allocations: 497.4 kB / 0.7958 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3081, allocations: 7.953 kB / 0.7958 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3081, allocations: 8 kB / 0.7958 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3082, allocations: 4.062 kB / 0.7958 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.3085, allocations: 103.8 kB / 0.7959 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.3085, allocations: 4 kB / 0.7959 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.3088, allocations: 75.58 kB / 0.7959 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.3088, allocations: 23.94 kB / 0.796 GB, free: 2.543 MB / 0.6075 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.0001578/0.309, allocations: 164 kB / 0.7961 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.3091, allocations: 27.72 kB / 0.7962 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.265e-05/0.3091, allocations: 37.81 kB / 0.7962 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.3091, allocations: 4 kB / 0.7962 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3092, allocations: 0 / 0.7962 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.3092, allocations: 7.984 kB / 0.7962 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.3095, allocations: 361.2 kB / 0.7965 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3095, allocations: 0 / 0.7965 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.3099, allocations: 71.89 kB / 0.7966 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.3099, allocations: 4 kB / 0.7966 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.31, allocations: 15.98 kB / 0.7966 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.31, allocations: 7.953 kB / 0.7966 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.31, allocations: 0 / 0.7966 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009956/0.311, allocations: 0.6169 MB / 0.7972 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.3111, allocations: 108.6 kB / 0.7973 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.3111, allocations: 12 kB / 0.7974 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.3114, allocations: 47.95 kB / 0.7974 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.3115, allocations: 35.95 kB / 0.7974 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.3115, allocations: 19.98 kB / 0.7975 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.453e-05/0.3116, allocations: 125.2 kB / 0.7976 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3116, allocations: 0 / 0.7976 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003099/0.3119, allocations: 83.98 kB / 0.7977 GB, free: 0.7031 MB / 0.6075 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.001361/0.3133, allocations: 1.315 MB / 0.7989 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000673/0.314, allocations: 399.5 kB / 0.7993 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.314, allocations: 0 / 0.7993 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.3143, allocations: 183.7 kB / 0.7995 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.3145, allocations: 35.42 kB / 0.7995 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.3165, allocations: 2.701 MB / 0.8022 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.3168, allocations: 0.7725 MB / 0.8029 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.317, allocations: 43.12 kB / 0.803 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.3172, allocations: 87.41 kB / 0.803 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.3172, allocations: 4 kB / 0.803 GB, free: 11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2689/0.586, allocations: 5.422 MB / 0.8083 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.5863, allocations: 217.8 kB / 0.8086 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.37, allocations: 64 / 0.8086 GB, free: 5.535 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1) Environment - environmentSimulation: