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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001118/0.001118, allocations: 175.4 kB / 498.1 MB, free: 5.754 MB / 394.7 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 / 0.7948 GB, free: 17.98 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.0009495/0.0009497, allocations: 88.34 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 11.56 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2441, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.4188, allocations: 149.8 MB / 1.369 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.419, allocations: 71.95 kB / 1.369 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02313/0.4422, allocations: 8.735 MB / 1.378 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.076e-06/0.4422, allocations: 4 kB / 1.378 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.4423, allocations: 8 kB / 1.378 GB, free: 3.359 MB / 0.8698 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.001228/0.4435, allocations: 0.6312 MB / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.4436, allocations: 8.031 kB / 1.378 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.644e-05/0.4437, allocations: 62.53 kB / 1.379 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.4438, allocations: 27.72 kB / 1.379 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.444, allocations: 195.6 kB / 1.379 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.4442, allocations: 263.8 kB / 1.379 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.4443, allocations: 39.84 kB / 1.379 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/0.4449, allocations: 261.8 kB / 1.379 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.4449, allocations: 7.938 kB / 1.379 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.4449, allocations: 8 kB / 1.379 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.4449, allocations: 8 kB / 1.379 GB, free: 1.691 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.4453, allocations: 183.9 kB / 1.379 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.4465, allocations: 0.7974 MB / 1.38 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.447, allocations: 216.6 kB / 1.38 GB, free: 424 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.4471, allocations: 16.17 kB / 1.38 GB, free: 408 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005351/0.4476, allocations: 315.4 kB / 1.381 GB, free: 72 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=48): time 2.074e-06/0.4476, allocations: 4 kB / 1.381 GB, free: 68 kB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.001066/0.4487, allocations: 0.49 MB / 1.381 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.435e-05/0.4488, allocations: 122.8 kB / 1.381 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.449, allocations: 158.6 kB / 1.382 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.449, allocations: 37.7 kB / 1.382 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.4491, allocations: 113.2 kB / 1.382 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.4493, allocations: 153.9 kB / 1.382 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.4493, allocations: 12 kB / 1.382 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4495, allocations: 346.8 kB / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.4498, allocations: 157.2 kB / 1.382 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.4501, allocations: 256.7 kB / 1.383 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.4505, allocations: 164 kB / 1.383 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4505, allocations: 0 / 1.383 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008285/0.4513, allocations: 497.1 kB / 1.383 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4514, allocations: 8 kB / 1.383 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.4514, allocations: 4 kB / 1.383 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.4514, allocations: 4 kB / 1.383 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.4518, allocations: 103.8 kB / 1.383 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.4518, allocations: 11.94 kB / 1.383 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.4521, allocations: 67.66 kB / 1.383 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.4522, allocations: 24 kB / 1.383 GB, free: 13.28 MB / 0.8855 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.0001802/0.4524, allocations: 163.4 kB / 1.384 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.4524, allocations: 23.72 kB / 1.384 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.1e-05/0.4525, allocations: 29.88 kB / 1.384 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4525, allocations: 8 kB / 1.384 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.4525, allocations: 0 / 1.384 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.4525, allocations: 3.984 kB / 1.384 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.4529, allocations: 361.1 kB / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4529, allocations: 4.062 kB / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.4533, allocations: 79.91 kB / 1.384 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4533, allocations: 4 kB / 1.384 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.4534, allocations: 15.98 kB / 1.384 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4534, allocations: 4 kB / 1.384 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4534, allocations: 0 / 1.384 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.4545, allocations: 0.6208 MB / 1.385 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.4546, allocations: 104.7 kB / 1.385 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.4546, allocations: 11.98 kB / 1.385 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.4549, allocations: 47.97 kB / 1.385 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.455, allocations: 43.89 kB / 1.385 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.455, allocations: 12 kB / 1.385 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.426e-05/0.4551, allocations: 125.2 kB / 1.385 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4551, allocations: 0 / 1.385 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003125/0.4554, allocations: 83.94 kB / 1.385 GB, free: 11.45 MB / 0.8855 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.001341/0.4568, allocations: 1.328 MB / 1.386 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006607/0.4574, allocations: 400.4 kB / 1.387 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4575, allocations: 384 / 1.387 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.4578, allocations: 180.7 kB / 1.387 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.458, allocations: 41.03 kB / 1.387 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.4598, allocations: 2.691 MB / 1.39 GB, free: 6.676 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.4601, allocations: 0.7725 MB / 1.39 GB, free: 5.879 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001601/0.4603, allocations: 34.97 kB / 1.39 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.4604, allocations: 91.39 kB / 1.39 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/0.4604, allocations: 0 / 1.39 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.4762, allocations: 5.413 MB / 1.396 GB, free: 0.543 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.4764, allocations: 218 kB / 1.396 GB, free: 304 kB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.476, allocations: 0 / 1.396 GB, free: 304 kB / 0.8855 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