Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.Continuous.Validation.MovingAverage,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.0009375/0.0009375, allocations: 99.86 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.0009333/0.0009334, 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 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.2 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0007021/0.0007023, allocations: 19.94 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.806, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage): time 0.001147/0.8072, allocations: 0.7644 MB / 0.9544 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.8083, allocations: 1.097 MB / 0.9554 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.8084, allocations: 1.844 kB / 0.9554 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.8084, allocations: 8.812 kB / 0.9554 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.8085, allocations: 44.5 kB / 0.9555 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.8089, allocations: 121.4 kB / 0.9556 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.8091, allocations: 192.1 kB / 0.9558 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.8092, allocations: 47.77 kB / 0.9558 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.8094, allocations: 107.7 kB / 0.9559 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.8096, allocations: 134.2 kB / 0.9561 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.8096, allocations: 14.16 kB / 0.9561 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.8097, allocations: 15.31 kB / 0.9561 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.8097, allocations: 60.36 kB / 0.9561 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.8098, allocations: 67.36 kB / 0.9562 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.81, allocations: 215.7 kB / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.81, allocations: 1.125 kB / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.345e-06/0.81, allocations: 0 / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.81, allocations: 0 / 0.9564 GB, free: 5.898 MB / 0.7169 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.001044/0.8111, allocations: 0.6085 MB / 0.957 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.8111, allocations: 13.66 kB / 0.957 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.8112, allocations: 54.17 kB / 0.9571 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.8113, allocations: 37 kB / 0.9571 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.8114, allocations: 193.6 kB / 0.9573 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.8115, allocations: 266.5 kB / 0.9575 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.8116, allocations: 38.05 kB / 0.9576 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.812, allocations: 259.9 kB / 0.9578 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.812, allocations: 5.391 kB / 0.9578 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.8121, allocations: 5.688 kB / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.8121, allocations: 9.672 kB / 0.9578 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.8125, allocations: 196.4 kB / 0.958 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009014/0.8134, allocations: 0.7727 MB / 0.9588 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.8138, allocations: 214.8 kB / 0.959 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.8139, allocations: 10.98 kB / 0.959 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000493/0.8144, allocations: 315.7 kB / 0.9593 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=48): time 2.334e-06/0.8144, allocations: 0 / 0.9593 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.0009845/0.8154, allocations: 0.4901 MB / 0.9598 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.8155, allocations: 113.7 kB / 0.9599 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.8156, allocations: 175.3 kB / 0.9601 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.8156, allocations: 45.81 kB / 0.9601 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.8157, allocations: 124.1 kB / 0.9602 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.446e-05/0.8158, allocations: 145.2 kB / 0.9604 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.8158, allocations: 18.75 kB / 0.9604 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.8159, allocations: 341.7 kB / 0.9607 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.8162, allocations: 148.2 kB / 0.9608 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.8165, allocations: 252 kB / 0.9611 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.8168, allocations: 172.1 kB / 0.9613 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.8168, allocations: 4.672 kB / 0.9613 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007871/0.8176, allocations: 0.493 MB / 0.9617 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.8176, allocations: 12.16 kB / 0.9617 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8176, allocations: 3.406 kB / 0.9618 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.8177, allocations: 5.844 kB / 0.9618 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.818, allocations: 96.23 kB / 0.9618 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.8181, allocations: 5.719 kB / 0.9619 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.8183, allocations: 72.62 kB / 0.9619 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.8184, allocations: 23.33 kB / 0.9619 GB, free: 1.633 MB / 0.7169 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.movAve1.mode,movAve1.mode,$whenCondition6,$PRE.movAve2.mode,movAve2.mode,$whenCondition7,$PRE.movAve3.mode,movAve3.mode,$whenCondition8,$PRE.movAve4.mode,movAve4.mode,$whenCondition9,$PRE.movAve5.mode,movAve5.mode,$whenCondition3,$PRE.movAve6.mode,movAve6.mode,$whenCondition4,$PRE.movAve7.mode,movAve7.mode,$whenCondition1,$PRE.movAve8.mode,movAve8.mode,$whenCondition2,$PRE.movAve9.mode,movAve9.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.0001395/0.8185, allocations: 152.5 kB / 0.9621 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.8186, allocations: 31.95 kB / 0.9621 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.8186, allocations: 35.27 kB / 0.9622 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.8187, allocations: 13.28 kB / 0.9622 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.8187, allocations: 0.7812 kB / 0.9622 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.8187, allocations: 0.75 kB / 0.9622 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.819, allocations: 357.4 kB / 0.9625 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.819, allocations: 0 / 0.9625 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.8194, allocations: 83.22 kB / 0.9626 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.8194, allocations: 2.719 kB / 0.9626 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.8195, allocations: 12.89 kB / 0.9626 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.8195, allocations: 2.156 kB / 0.9626 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8195, allocations: 5.312 kB / 0.9626 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009816/0.8205, allocations: 0.6183 MB / 0.9632 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.8205, allocations: 104.8 kB / 0.9633 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.8206, allocations: 16.22 kB / 0.9633 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.8208, allocations: 50.42 kB / 0.9634 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-05/0.8209, allocations: 33.3 kB / 0.9634 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.8209, allocations: 19.11 kB / 0.9634 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.02e-05/0.821, allocations: 120 kB / 0.9635 GB, free: 448 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.821, allocations: 0 / 0.9635 GB, free: 448 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003092/0.8213, allocations: 89.22 kB / 0.9636 GB, free: 424 kB / 0.7169 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 (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.001333/0.8227, allocations: 1.32 MB / 0.9649 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007709/0.8234, allocations: 388.4 kB / 0.9653 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8235, allocations: 1.031 kB / 0.9653 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.8239, allocations: 199.2 kB / 0.9655 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.8241, allocations: 35.66 kB / 0.9655 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.8263, allocations: 2.692 MB / 0.9681 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.8266, allocations: 0.7707 MB / 0.9689 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001676/0.8268, allocations: 44.78 kB / 0.9689 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.8269, allocations: 84.75 kB / 0.969 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.8269, allocations: 0 / 0.969 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.8439, allocations: 5.397 MB / 0.9743 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.8441, allocations: 194.5 kB / 0.9745 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.679, allocations: 0 / 0.9745 GB, free: 9.035 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_res.mat does not exist to compare? outputFormat=mat