Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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_nonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001085/0.001085, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008635/0.0008635, allocations: 172.7 kB / 15.95 MB, free: 208 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.431/1.431, allocations: 223.2 MB / 240 MB, free: 5.344 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.578/2.578, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005023, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7808/0.7813, allocations: 142.3 MB / 0.9539 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart): time 0.002268/0.7836, allocations: 1.616 MB / 0.9555 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.7845, allocations: 0.6062 MB / 0.956 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.744e-05/0.7846, allocations: 5.094 kB / 0.9561 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.7846, allocations: 16.95 kB / 0.9561 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.7848, allocations: 32.61 kB / 0.9561 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.7851, allocations: 121.6 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.7854, allocations: 282.2 kB / 0.9565 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.7856, allocations: 47.8 kB / 0.9565 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.7858, allocations: 101.4 kB / 0.9566 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.786, allocations: 134.5 kB / 0.9568 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.786, allocations: 14.06 kB / 0.9568 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.385e-05/0.7861, allocations: 18.81 kB / 0.9568 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.7862, allocations: 60.09 kB / 0.9568 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.7862, allocations: 67.7 kB / 0.9569 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.7864, allocations: 209.8 kB / 0.9571 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7864, allocations: 0 / 0.9571 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7864, allocations: 0 / 0.9571 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7864, allocations: 0 / 0.9571 GB, free: 5.645 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.001008/0.7875, allocations: 0.6093 MB / 0.9577 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.7875, allocations: 9.938 kB / 0.9577 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.452e-05/0.7876, allocations: 65.45 kB / 0.9578 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.675e-05/0.7877, allocations: 38.12 kB / 0.9578 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.7878, allocations: 189.2 kB / 0.958 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.7879, allocations: 261.7 kB / 0.9582 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.788, allocations: 42.3 kB / 0.9583 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.7884, allocations: 261.8 kB / 0.9585 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.7885, allocations: 3.984 kB / 0.9585 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.7885, allocations: 11.56 kB / 0.9585 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.7885, allocations: 7.734 kB / 0.9586 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.7889, allocations: 185 kB / 0.9587 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008745/0.7898, allocations: 0.7936 MB / 0.9595 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.7902, allocations: 209.7 kB / 0.9597 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.7905, allocations: 140.9 kB / 0.9598 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.7905, allocations: 10.02 kB / 0.9598 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004859/0.791, allocations: 321.9 kB / 0.9602 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=48): time 1.863e-06/0.791, allocations: 0 / 0.9602 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.000959/0.792, allocations: 492.2 kB / 0.9606 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.792, allocations: 115 kB / 0.9607 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.7922, allocations: 176.3 kB / 0.9609 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.7922, allocations: 44.92 kB / 0.9609 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.7923, allocations: 123.9 kB / 0.9611 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.7924, allocations: 148.8 kB / 0.9612 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.7924, allocations: 11.03 kB / 0.9612 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.7925, allocations: 341.7 kB / 0.9615 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.7928, allocations: 148 kB / 0.9617 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.7932, allocations: 266.7 kB / 0.9619 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.7935, allocations: 167.4 kB / 0.9621 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.7935, allocations: 1.375 kB / 0.9621 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008101/0.7943, allocations: 0.4976 MB / 0.9626 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.7943, allocations: 5.531 kB / 0.9626 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.7943, allocations: 3.312 kB / 0.9626 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.7944, allocations: 5.438 kB / 0.9626 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.7947, allocations: 100.7 kB / 0.9627 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.7948, allocations: 6.156 kB / 0.9627 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.795, allocations: 67.53 kB / 0.9628 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.7951, allocations: 21.53 kB / 0.9628 GB, free: 1.297 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.0001247/0.7952, allocations: 167.3 kB / 0.9629 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.7952, allocations: 25.81 kB / 0.963 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.7953, allocations: 31.78 kB / 0.963 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.7953, allocations: 3.781 kB / 0.963 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.7953, allocations: 4.062 kB / 0.963 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.7953, allocations: 6.016 kB / 0.963 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.7956, allocations: 355.6 kB / 0.9634 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.7956, allocations: 5.234 kB / 0.9634 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.796, allocations: 81.77 kB / 0.9634 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.796, allocations: 6.469 kB / 0.9634 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.7961, allocations: 8.969 kB / 0.9635 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.7961, allocations: 2.656 kB / 0.9635 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7961, allocations: 5.219 kB / 0.9635 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.7971, allocations: 0.5902 MB / 0.964 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.7971, allocations: 109.4 kB / 0.9641 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.7972, allocations: 7.531 kB / 0.9641 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.7974, allocations: 51.78 kB / 0.9642 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.862e-05/0.7975, allocations: 43.91 kB / 0.9642 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.7975, allocations: 11.03 kB / 0.9642 GB, free: 236 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.867e-05/0.7976, allocations: 123.6 kB / 0.9644 GB, free: 136 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7976, allocations: 7.5 kB / 0.9644 GB, free: 132 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003124/0.7979, allocations: 80.12 kB / 0.9644 GB, free: 112 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.001462/0.7994, allocations: 1.166 MB / 0.9656 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007582/0.8002, allocations: 385.1 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8002, allocations: 5.25 kB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.8006, allocations: 185.6 kB / 0.9661 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.8009, allocations: 44.09 kB / 0.9662 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.8038, allocations: 1.871 MB / 0.968 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.8041, allocations: 0.7652 MB / 0.9688 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000169/0.8043, allocations: 41.64 kB / 0.9688 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.8045, allocations: 88.48 kB / 0.9689 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8045, allocations: 0 / 0.9689 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.8219, allocations: 5.527 MB / 0.9743 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.8221, allocations: 222.5 kB / 0.9745 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.644, allocations: 3.938 kB / 0.9745 GB, free: 10.15 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat does not exist to compare? outputFormat=mat