Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_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.004224/0.004224, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001171/0.001171, allocations: 194.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437.1 MB / 0.7106 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 72.08 kB / 1.018 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2497, allocations: 151.6 MB / 1.166 GB, free: 7.195 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002691/0.2525, allocations: 1.961 MB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.2534, allocations: 0.6467 MB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.2534, allocations: 8 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.831e-05/0.2535, allocations: 19.73 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.2536, allocations: 39.58 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.254, allocations: 159.7 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.2543, allocations: 323.1 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.2545, allocations: 52.38 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.2546, allocations: 127.7 kB / 1.17 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.2548, allocations: 151.3 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.979e-05/0.2549, allocations: 32 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.595e-05/0.2549, allocations: 28 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.109e-05/0.255, allocations: 79.73 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.2551, allocations: 139.3 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.2554, allocations: 299.1 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2554, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2554, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.2554, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 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.001118/0.2566, allocations: 0.639 MB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2566, allocations: 11.97 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/0.2567, allocations: 58.73 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.154e-05/0.2567, allocations: 32.8 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2569, allocations: 196.9 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.2571, allocations: 268.3 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.2572, allocations: 28.33 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.2576, allocations: 257.7 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.2576, allocations: 7.938 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.2577, allocations: 15.98 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.2577, allocations: 7.938 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.2581, allocations: 171.8 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009989/0.2591, allocations: 0.7816 MB / 1.173 GB, free: 460 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.2596, allocations: 203.7 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.2598, allocations: 134.7 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.2599, allocations: 8.375 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004966/0.2604, allocations: 319.3 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 1.734e-06/0.2604, allocations: 4 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.0009551/0.2613, allocations: 484 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.2614, allocations: 118.8 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.2616, allocations: 179.5 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.2616, allocations: 37.7 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.2617, allocations: 121.3 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.2618, allocations: 154.8 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.2619, allocations: 106.3 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2621, allocations: 346.8 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.2624, allocations: 141.2 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.2627, allocations: 256.7 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.2633, allocations: 390.1 kB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2633, allocations: 0 / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007978/0.2642, allocations: 0.4932 MB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2642, allocations: 4 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2642, allocations: 7.938 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2642, allocations: 8 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.2646, allocations: 99.81 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.2646, allocations: 7.938 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.2648, allocations: 55.75 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.2649, allocations: 24 kB / 1.176 GB, free: 12.62 MB / 0.9356 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 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.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.0001509/0.265, allocations: 159.4 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.2651, allocations: 39.75 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/0.2652, allocations: 29.88 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2652, allocations: 8 kB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2652, allocations: 0 / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.2652, allocations: 3.984 kB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.2655, allocations: 349.3 kB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2655, allocations: 3.938 kB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.2659, allocations: 75.89 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2659, allocations: 4 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.266, allocations: 16 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.266, allocations: 8 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.266, allocations: 3.938 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.267, allocations: 0.5793 MB / 1.177 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.2671, allocations: 112.8 kB / 1.177 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.2671, allocations: 15.98 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.2674, allocations: 27.97 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.2675, allocations: 63.86 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.2675, allocations: 8 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.087e-05/0.2676, allocations: 133.3 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2676, allocations: 3.938 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002811/0.2679, allocations: 72 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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.001326/0.2692, allocations: 1.152 MB / 1.179 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006824/0.2699, allocations: 396 kB / 1.179 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2699, allocations: 4 kB / 1.179 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.2703, allocations: 187.7 kB / 1.179 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.2706, allocations: 44.61 kB / 1.18 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/0.2743, allocations: 3.173 MB / 1.183 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.2747, allocations: 0.7686 MB / 1.183 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.2748, allocations: 39.23 kB / 1.183 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.275, allocations: 91.41 kB / 1.184 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.275, allocations: 0 / 1.184 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.963/5.238, allocations: 6.548 MB / 1.19 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.605/14.84, allocations: 8.391 kB / 1.19 GB, free: 14.38 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1)