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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001158/0.001157, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008798/0.008798, allocations: 169 kB / 16.26 MB, free: 6.652 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.332/2.332, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 12.19 kB / 0.873 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5635/0.5639, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001028/0.5649, allocations: 0.8054 MB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.566, allocations: 1.108 MB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.5661, allocations: 4 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.5661, allocations: 11.88 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.548e-05/0.5662, allocations: 31.7 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.5666, allocations: 131.7 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.5668, allocations: 303.2 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.5669, allocations: 56.3 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.5671, allocations: 107.6 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.5672, allocations: 139.3 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.5673, allocations: 20 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.761e-05/0.5673, allocations: 12 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.5674, allocations: 67.78 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.989e-05/0.5675, allocations: 141.1 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.5677, allocations: 297.2 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5677, allocations: 3.938 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5677, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.5677, allocations: 0 / 1.026 GB, free: 12.62 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.0009602/0.5687, allocations: 0.6004 MB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.5687, allocations: 16.03 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.862e-05/0.5688, allocations: 62.72 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.5688, allocations: 32.56 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.5689, allocations: 200.9 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.5691, allocations: 260.3 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.5692, allocations: 36.27 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.5696, allocations: 278 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.5696, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.5697, allocations: 12 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.5697, allocations: 4 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.5701, allocations: 193.1 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008774/0.5709, allocations: 0.7775 MB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.5714, allocations: 215.7 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.5716, allocations: 130.5 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.5716, allocations: 11.98 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004618/0.5721, allocations: 319.6 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=48): time 1.503e-06/0.5721, allocations: 0 / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48): time 0.000897/0.573, allocations: 0.4935 MB / 1.03 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.5731, allocations: 114.8 kB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.5732, allocations: 187.3 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.5733, allocations: 37.7 kB / 1.03 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.5733, allocations: 121.3 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.5734, allocations: 150 kB / 1.03 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.5735, allocations: 57.69 kB / 1.03 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.389e-05/0.5736, allocations: 338.8 kB / 1.031 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.5739, allocations: 157.2 kB / 1.031 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.5742, allocations: 252.8 kB / 1.031 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.5748, allocations: 414 kB / 1.032 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5748, allocations: 0 / 1.032 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007457/0.5755, allocations: 0.4969 MB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.5756, allocations: 15.94 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5756, allocations: 0 / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5756, allocations: 8 kB / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.5759, allocations: 99.81 kB / 1.032 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.576, allocations: 7.938 kB / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.5762, allocations: 67.66 kB / 1.032 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.5762, allocations: 20 kB / 1.032 GB, free: 6.082 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.0001366/0.5764, allocations: 168.1 kB / 1.032 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.5764, allocations: 27.66 kB / 1.032 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.5765, allocations: 29.88 kB / 1.032 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5765, allocations: 4 kB / 1.032 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5765, allocations: 8 kB / 1.032 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5765, allocations: 3.984 kB / 1.032 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.5768, allocations: 365 kB / 1.033 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5768, allocations: 3.938 kB / 1.033 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.5772, allocations: 75.91 kB / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.5772, allocations: 7.922 kB / 1.033 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.5772, allocations: 8 kB / 1.033 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.5772, allocations: 4 kB / 1.033 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5772, allocations: 0 / 1.033 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009131/0.5782, allocations: 0.6057 MB / 1.034 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.5782, allocations: 108.7 kB / 1.034 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.5783, allocations: 12.08 kB / 1.034 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.5785, allocations: 47.91 kB / 1.034 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5786, allocations: 55.92 kB / 1.034 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.5786, allocations: 15.98 kB / 1.034 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.443e-05/0.5787, allocations: 129.2 kB / 1.034 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5787, allocations: 0 / 1.034 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002716/0.579, allocations: 79.94 kB / 1.034 GB, free: 4.246 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.001164/0.5802, allocations: 1.171 MB / 1.035 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006163/0.5808, allocations: 388.5 kB / 1.035 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5808, allocations: 0 / 1.035 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.5812, allocations: 207.7 kB / 1.036 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.5814, allocations: 48.34 kB / 1.036 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.5848, allocations: 3.308 MB / 1.039 GB, free: 14.94 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.5851, allocations: 0.7686 MB / 1.04 GB, free: 14.14 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.5852, allocations: 34.97 kB / 1.04 GB, free: 14.11 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.5854, allocations: 83.41 kB / 1.04 GB, free: 14.03 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.5854, allocations: 0 / 1.04 GB, free: 14.03 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.251/0.8363, allocations: 5.763 MB / 1.045 GB, free: 8.422 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004826/0.8369, allocations: 208 kB / 1.046 GB, free: 8.168 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.676, allocations: 6.469 kB / 1.046 GB, free: 8.164 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)