Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.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,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.327/2.327, allocations: 390.3 MB / 402.8 MB, free: 6.637 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.00106/0.00106, allocations: 188.8 kB / 496.1 MB, free: 12.85 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.542/1.542, allocations: 221.3 MB / 0.7915 GB, free: 5.355 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.0009408/0.0009409, allocations: 83.97 kB / 0.9317 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.078e-05/4.08e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3086, allocations: 143 MB / 1.219 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.332, allocations: 150.5 MB / 1.366 GB, free: 3.504 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.333, allocations: 69.02 kB / 1.366 GB, free: 3.469 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0243/1.357, allocations: 8.699 MB / 1.374 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.365e-06/1.357, allocations: 0 / 1.374 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.546e-05/1.357, allocations: 4 kB / 1.374 GB, free: 12.21 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.001166/1.358, allocations: 0.6056 MB / 1.375 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/1.358, allocations: 12.03 kB / 1.375 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/1.358, allocations: 66.41 kB / 1.375 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/1.359, allocations: 32.28 kB / 1.375 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/1.359, allocations: 191.6 kB / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/1.359, allocations: 261.2 kB / 1.376 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/1.359, allocations: 32.77 kB / 1.376 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/1.359, allocations: 248.3 kB / 1.376 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.359, allocations: 0 / 1.376 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/1.359, allocations: 10.75 kB / 1.376 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/1.359, allocations: 4 kB / 1.376 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/1.36, allocations: 147.3 kB / 1.376 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/1.361, allocations: 0.8017 MB / 1.377 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/1.361, allocations: 185.8 kB / 1.377 GB, free: 9.719 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/1.362, allocations: 122.5 kB / 1.377 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/1.362, allocations: 11.88 kB / 1.377 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/1.362, allocations: 295.9 kB / 1.377 GB, free: 9.371 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=48): time 4.598e-06/1.362, allocations: 3.984 kB / 1.377 GB, free: 9.367 MB / 0.8386 GB Notification: Performance of matching and sorting (n=48): time 0.000649/1.363, allocations: 329.9 kB / 1.378 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/1.363, allocations: 118 kB / 1.378 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/1.363, allocations: 159.8 kB / 1.378 GB, free: 8.824 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/1.363, allocations: 43.95 kB / 1.378 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/1.363, allocations: 118.4 kB / 1.378 GB, free: 8.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/1.363, allocations: 149.3 kB / 1.378 GB, free: 8.555 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/1.363, allocations: 7 kB / 1.378 GB, free: 8.555 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.363, allocations: 349.2 kB / 1.379 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/1.364, allocations: 128.1 kB / 1.379 GB, free: 8.141 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/1.364, allocations: 231.4 kB / 1.379 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/1.364, allocations: 149.8 kB / 1.379 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.364, allocations: 0 / 1.379 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006756/1.365, allocations: 449.2 kB / 1.38 GB, free: 7.488 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.365, allocations: 7.984 kB / 1.38 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.365, allocations: 8 kB / 1.38 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.365, allocations: 4 kB / 1.38 GB, free: 7.469 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/1.365, allocations: 102.8 kB / 1.38 GB, free: 7.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/1.365, allocations: 7.938 kB / 1.38 GB, free: 7.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/1.366, allocations: 69.72 kB / 1.38 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/1.366, allocations: 23.45 kB / 1.38 GB, free: 7.289 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.0001284/1.366, allocations: 148.3 kB / 1.38 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/1.366, allocations: 27.62 kB / 1.38 GB, free: 7.125 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.548e-05/1.366, allocations: 27.97 kB / 1.38 GB, free: 7.113 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/1.366, allocations: 4 kB / 1.38 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.366, allocations: 4 kB / 1.38 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/1.366, allocations: 7.984 kB / 1.38 GB, free: 7.098 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/1.366, allocations: 357.9 kB / 1.38 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.366, allocations: 0 / 1.38 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/1.367, allocations: 78.89 kB / 1.38 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.367, allocations: 3.938 kB / 1.38 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/1.367, allocations: 14.62 kB / 1.38 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.367, allocations: 0 / 1.38 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.367, allocations: 3.938 kB / 1.38 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008268/1.368, allocations: 0.5612 MB / 1.381 GB, free: 6.203 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/1.368, allocations: 108.8 kB / 1.381 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/1.368, allocations: 10.69 kB / 1.381 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/1.368, allocations: 43.59 kB / 1.381 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/1.368, allocations: 45.89 kB / 1.381 GB, free: 6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/1.368, allocations: 12 kB / 1.381 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.929e-05/1.368, allocations: 127.2 kB / 1.381 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.368, allocations: 0 / 1.381 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003283/1.369, allocations: 81.56 kB / 1.381 GB, free: 5.812 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.001241/1.37, allocations: 1.257 MB / 1.383 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005975/1.371, allocations: 349.8 kB / 1.383 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.371, allocations: 0 / 1.383 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/1.371, allocations: 163.8 kB / 1.383 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/1.371, allocations: 38.03 kB / 1.383 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/1.372, allocations: 0.574 MB / 1.384 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/1.373, allocations: 0.7725 MB / 1.384 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001912/1.373, allocations: 47.03 kB / 1.384 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/1.373, allocations: 84.03 kB / 1.385 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of SimCode: time 2.835e-06/1.373, allocations: 0 / 1.385 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/1.39, allocations: 5.543 MB / 1.39 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/1.39, allocations: 171.7 kB / 1.39 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/3.427, allocations: 0 / 1.39 GB, free: 13.3 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_res.mat does not exist to compare? outputFormat=mat