Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",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.001302/0.001302, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001211/0.001211, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.305/1.305, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.324/2.324, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 71.89 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6223/0.6236, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002339/0.626, allocations: 1.152 MB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.6273, allocations: 1.115 MB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.6274, allocations: 0 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.703e-05/0.6275, allocations: 15.86 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.6276, allocations: 31.7 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.6281, allocations: 131.7 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.6284, allocations: 323.3 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.6285, allocations: 56.22 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.6287, allocations: 131.5 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.6289, allocations: 147.4 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.629, allocations: 32 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.629, allocations: 28 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.6291, allocations: 79.78 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.6292, allocations: 135.4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.6294, allocations: 317.2 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.6294, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6294, allocations: 4 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.6295, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.7794 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.001048/0.6305, allocations: 0.6198 MB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.6305, allocations: 8.031 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.849e-05/0.6306, allocations: 62.72 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.6307, allocations: 28.66 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.6308, allocations: 204.8 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.631, allocations: 268.3 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.631, allocations: 28.28 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/0.6315, allocations: 266 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.6315, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.6315, allocations: 8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6315, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.6319, allocations: 171.9 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009183/0.6329, allocations: 0.7775 MB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.6333, allocations: 212.3 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.6335, allocations: 134.5 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.6336, allocations: 19.97 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004866/0.6341, allocations: 315.6 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=48): time 2.104e-06/0.6341, allocations: 224 / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48): time 0.0009086/0.635, allocations: 486.7 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.635, allocations: 110.8 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.6352, allocations: 175.5 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.6352, allocations: 37.7 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.6353, allocations: 129.2 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.6354, allocations: 142 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.6355, allocations: 106.3 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.6356, allocations: 350.8 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.6359, allocations: 145.2 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.6362, allocations: 252.8 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.6368, allocations: 394 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6368, allocations: 4 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007548/0.6376, allocations: 492.9 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.6376, allocations: 7.938 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.6376, allocations: 4 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6376, allocations: 8 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.638, allocations: 91.83 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.638, allocations: 11.98 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.6383, allocations: 55.66 kB / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.6383, allocations: 24 kB / 1.026 GB, free: 8.562 MB / 0.7794 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.0001361/0.6385, allocations: 152.7 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.6385, allocations: 31.66 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.6386, allocations: 33.86 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.6386, allocations: 8 kB / 1.027 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.6386, allocations: 3.938 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.6386, allocations: 7.984 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.6389, allocations: 353.1 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6389, allocations: 0 / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.6393, allocations: 75.89 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.6393, allocations: 7.938 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.6394, allocations: 11.98 kB / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.6394, allocations: 8 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6394, allocations: 4 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000924/0.6403, allocations: 0.59 MB / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.6404, allocations: 104.8 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.6404, allocations: 15.98 kB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.6406, allocations: 35.95 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.6408, allocations: 59.97 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.6408, allocations: 15.98 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.487e-05/0.6409, allocations: 125.2 kB / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6409, allocations: 0 / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002972/0.6412, allocations: 79.94 kB / 1.028 GB, free: 6.762 MB / 0.7794 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.001239/0.6424, allocations: 1.156 MB / 1.029 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007103/0.6431, allocations: 400 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6432, allocations: 0 / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.6435, allocations: 204.6 kB / 1.03 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.6438, allocations: 36.77 kB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.6475, allocations: 3.244 MB / 1.033 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.6478, allocations: 0.7686 MB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.6479, allocations: 34.97 kB / 1.034 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.6481, allocations: 95.39 kB / 1.034 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.6481, allocations: 0 / 1.034 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.6708, allocations: 6.067 MB / 1.04 GB, free: 10.7 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/0.6711, allocations: 213.9 kB / 1.04 GB, free: 10.44 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.567, allocations: 3.75 kB / 1.04 GB, free: 10.44 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1)