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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009914, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.009723/0.009724, allocations: 172.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.997/1.997, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0006532/0.000653, allocations: 20.67 kB / 0.6743 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2885, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002297/0.2909, allocations: 1.668 MB / 0.7895 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.292, allocations: 0.6788 MB / 0.7902 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.2921, allocations: 0 / 0.7902 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.2921, allocations: 7.875 kB / 0.7902 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.891e-05/0.2922, allocations: 35.7 kB / 0.7902 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.2925, allocations: 139.7 kB / 0.7904 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.2928, allocations: 307.1 kB / 0.7907 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2929, allocations: 48.36 kB / 0.7907 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.2931, allocations: 99.69 kB / 0.7908 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.2933, allocations: 147.3 kB / 0.7909 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.2934, allocations: 16 kB / 0.791 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.089e-05/0.2934, allocations: 12 kB / 0.791 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.2935, allocations: 59.78 kB / 0.791 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.2936, allocations: 145.1 kB / 0.7912 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.2939, allocations: 279.2 kB / 0.7914 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.2939, allocations: 0 / 0.7914 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2939, allocations: 4 kB / 0.7914 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2939, allocations: 0 / 0.7914 GB, free: 7.926 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.00112/0.295, allocations: 0.6159 MB / 0.792 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2951, allocations: 12.03 kB / 0.792 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.2952, allocations: 28.66 kB / 0.7921 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.2953, allocations: 196.8 kB / 0.7923 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.2955, allocations: 264.3 kB / 0.7925 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.2956, allocations: 32.36 kB / 0.7925 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.2961, allocations: 273.8 kB / 0.7928 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.2962, allocations: 7.844 kB / 0.7928 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.2962, allocations: 8 kB / 0.7928 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.2962, allocations: 4 kB / 0.7928 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.2967, allocations: 188.5 kB / 0.793 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.2978, allocations: 0.7776 MB / 0.7938 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.2983, allocations: 211.7 kB / 0.794 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.2986, allocations: 138.5 kB / 0.7941 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.2986, allocations: 11.98 kB / 0.7941 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005399/0.2992, allocations: 323.5 kB / 0.7944 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.694e-06/0.2992, allocations: 4 kB / 0.7944 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001032/0.3002, allocations: 0.4936 MB / 0.7949 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.3003, allocations: 110.8 kB / 0.795 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.3005, allocations: 181.4 kB / 0.7952 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.3006, allocations: 37.7 kB / 0.7952 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.3006, allocations: 129.2 kB / 0.7953 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.3008, allocations: 142 kB / 0.7955 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.3008, allocations: 61.69 kB / 0.7955 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.301, allocations: 342.8 kB / 0.7959 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.3013, allocations: 153.2 kB / 0.796 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.3017, allocations: 268.9 kB / 0.7963 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.3023, allocations: 406 kB / 0.7967 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3024, allocations: 4 kB / 0.7967 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008453/0.3032, allocations: 0.493 MB / 0.7971 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3032, allocations: 11.94 kB / 0.7971 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3033, allocations: 4.703 kB / 0.7972 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3033, allocations: 4 kB / 0.7972 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.3037, allocations: 99.83 kB / 0.7973 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.3037, allocations: 7.984 kB / 0.7973 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.304, allocations: 75.59 kB / 0.7973 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.3041, allocations: 20 kB / 0.7973 GB, free: 1.449 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 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.mode,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.3043, allocations: 156 kB / 0.7975 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.3044, allocations: 35.64 kB / 0.7975 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.777e-05/0.3045, allocations: 29.88 kB / 0.7976 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.3045, allocations: 4 kB / 0.7976 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.3045, allocations: 4 kB / 0.7976 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.3045, allocations: 7.984 kB / 0.7976 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.305, allocations: 345.2 kB / 0.7979 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.305, allocations: 3.984 kB / 0.7979 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.3054, allocations: 75.84 kB / 0.798 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3054, allocations: 7.938 kB / 0.798 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.3055, allocations: 15.98 kB / 0.798 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.3055, allocations: 4 kB / 0.798 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3055, allocations: 0 / 0.798 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.3067, allocations: 0.5979 MB / 0.7986 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.3068, allocations: 108.6 kB / 0.7987 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.3068, allocations: 15.98 kB / 0.7987 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.3071, allocations: 43.97 kB / 0.7988 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.3073, allocations: 59.95 kB / 0.7988 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.3073, allocations: 19.98 kB / 0.7988 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.478e-05/0.3074, allocations: 124.3 kB / 0.7989 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3074, allocations: 0 / 0.7989 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003497/0.3078, allocations: 83.91 kB / 0.799 GB, free: 15.63 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002366/0.308, allocations: 130.2 kB / 0.7992 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008178/0.3088, allocations: 394.7 kB / 0.7995 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3088, allocations: 3.938 kB / 0.7995 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.3093, allocations: 211.8 kB / 0.7997 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.3097, allocations: 40.05 kB / 0.7998 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.3109, allocations: 0.7368 MB / 0.8005 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.3112, allocations: 0.7608 MB / 0.8012 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.3114, allocations: 42.95 kB / 0.8013 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.3115, allocations: 27.44 kB / 0.8013 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of SimCode: time 8.11e-07/0.3115, allocations: 0 / 0.8013 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of Templates: time 0.006883/0.3184, allocations: 3.406 MB / 0.8046 GB, free: 9.852 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1) Environment - environmentSimulation: