Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_latest_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_latest_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/Buildings 10.0.0-master/package.mo): time 2.256/2.256, allocations: 390.3 MB / 402.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 180.1 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.3 MB / 0.7915 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009783/0.0009783, allocations: 84.02 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.498e-05/5.534e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.313, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9428/1.256, allocations: 150.6 MB / 1.366 GB, free: 3.473 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/1.256, allocations: 70.39 kB / 1.366 GB, free: 3.434 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02438/1.28, allocations: 8.701 MB / 1.374 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.353e-06/1.281, allocations: 0 / 1.374 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.497e-05/1.281, allocations: 12 kB / 1.374 GB, free: 12.18 MB / 0.8386 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.001207/1.282, allocations: 0.6011 MB / 1.375 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/1.282, allocations: 12.03 kB / 1.375 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/1.282, allocations: 55.92 kB / 1.375 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/1.282, allocations: 31.62 kB / 1.375 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/1.282, allocations: 196.3 kB / 1.375 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/1.282, allocations: 266.1 kB / 1.376 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.718e-05/1.283, allocations: 33.7 kB / 1.376 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/1.283, allocations: 246.5 kB / 1.376 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/1.283, allocations: 0 / 1.376 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/1.283, allocations: 10.75 kB / 1.376 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.283, allocations: 4 kB / 1.376 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/1.283, allocations: 154.2 kB / 1.376 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/1.285, allocations: 0.7978 MB / 1.377 GB, free: 9.852 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/1.285, allocations: 189.5 kB / 1.377 GB, free: 9.684 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/1.285, allocations: 109.6 kB / 1.377 GB, free: 9.605 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/1.285, allocations: 19.5 kB / 1.377 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004507/1.286, allocations: 285 kB / 1.377 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=48): time 3.176e-06/1.286, allocations: 0 / 1.377 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=48): time 0.0006146/1.286, allocations: 334.8 kB / 1.378 GB, free: 9.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/1.286, allocations: 118.8 kB / 1.378 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/1.287, allocations: 163 kB / 1.378 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/1.287, allocations: 43.77 kB / 1.378 GB, free: 8.762 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/1.287, allocations: 114.5 kB / 1.378 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/1.287, allocations: 153.2 kB / 1.378 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/1.287, allocations: 9.75 kB / 1.378 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.287, allocations: 339.8 kB / 1.379 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/1.287, allocations: 132.4 kB / 1.379 GB, free: 8.117 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/1.288, allocations: 231.2 kB / 1.379 GB, free: 7.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/1.288, allocations: 147.8 kB / 1.379 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.288, allocations: 0 / 1.379 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000665/1.288, allocations: 460.5 kB / 1.38 GB, free: 7.457 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.288, allocations: 5.25 kB / 1.38 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.288, allocations: 4 kB / 1.38 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.289, allocations: 8 kB / 1.38 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/1.289, allocations: 99.27 kB / 1.38 GB, free: 7.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/1.289, allocations: 4.703 kB / 1.38 GB, free: 7.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/1.289, allocations: 69.95 kB / 1.38 GB, free: 7.285 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/1.289, allocations: 26.83 kB / 1.38 GB, free: 7.266 MB / 0.8386 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 () * 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.000124/1.289, allocations: 144.2 kB / 1.38 GB, free: 7.133 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/1.289, allocations: 27.62 kB / 1.38 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.204e-05/1.29, allocations: 35.39 kB / 1.38 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.29, allocations: 12.03 kB / 1.38 GB, free: 7.074 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.29, allocations: 3.984 kB / 1.38 GB, free: 7.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/1.29, allocations: 3.984 kB / 1.38 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/1.29, allocations: 352.5 kB / 1.38 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.29, allocations: 0 / 1.38 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/1.29, allocations: 79.33 kB / 1.38 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/1.29, allocations: 4 kB / 1.38 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/1.29, allocations: 17.98 kB / 1.38 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.29, allocations: 4 kB / 1.38 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.29, allocations: 4 kB / 1.38 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008379/1.291, allocations: 0.5554 MB / 1.381 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/1.291, allocations: 104.8 kB / 1.381 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/1.291, allocations: 9.5 kB / 1.381 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/1.292, allocations: 43.45 kB / 1.381 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/1.292, allocations: 41.41 kB / 1.381 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/1.292, allocations: 19.55 kB / 1.381 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.765e-05/1.292, allocations: 126.2 kB / 1.381 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.41e-07/1.292, allocations: 0 / 1.381 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003337/1.292, allocations: 78.12 kB / 1.381 GB, free: 5.793 MB / 0.8386 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 () * 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.001397/1.294, allocations: 1.256 MB / 1.383 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000648/1.294, allocations: 353.6 kB / 1.383 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.294, allocations: 0 / 1.383 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002957/1.295, allocations: 168.4 kB / 1.383 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/1.295, allocations: 35.45 kB / 1.383 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/1.296, allocations: 0.5832 MB / 1.384 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/1.297, allocations: 0.7725 MB / 1.384 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001784/1.297, allocations: 34.97 kB / 1.384 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/1.297, allocations: 84.28 kB / 1.385 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.297, allocations: 3.938 kB / 1.385 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/1.317, allocations: 5.552 MB / 1.39 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/1.317, allocations: 191.2 kB / 1.39 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/3.298, allocations: 4.062 kB / 1.39 GB, free: 13.25 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat does not exist to compare? outputFormat=mat