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.373/2.373, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001322/0.001321, allocations: 176 kB / 0.4901 GB, free: 2.262 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.513/1.513, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.0009277/0.0009277, allocations: 94.38 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003917, allocations: 16.67 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2889, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.475, allocations: 150.6 MB / 1.376 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.4753, allocations: 75.89 kB / 1.376 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02469/0.5, allocations: 8.745 MB / 1.385 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5001, allocations: 0 / 1.385 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.5001, allocations: 4 kB / 1.385 GB, free: 5.742 MB / 0.8855 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.001335/0.5015, allocations: 0.63 MB / 1.386 GB, free: 5.062 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.5015, allocations: 12.03 kB / 1.386 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.5016, allocations: 58.53 kB / 1.386 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.168e-05/0.5017, allocations: 35.66 kB / 1.386 GB, free: 4.949 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.5019, allocations: 191.6 kB / 1.386 GB, free: 4.719 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.5022, allocations: 263.8 kB / 1.386 GB, free: 4.406 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.5022, allocations: 43.84 kB / 1.386 GB, free: 4.363 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.5028, allocations: 261.7 kB / 1.386 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.5028, allocations: 0 / 1.386 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.5028, allocations: 12 kB / 1.386 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.5029, allocations: 4 kB / 1.386 GB, free: 4.078 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.5033, allocations: 191.8 kB / 1.387 GB, free: 3.891 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.5046, allocations: 0.7972 MB / 1.387 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.5051, allocations: 212.5 kB / 1.388 GB, free: 2.797 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.55e-05/0.5052, allocations: 12.17 kB / 1.388 GB, free: 2.785 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005481/0.5057, allocations: 311.7 kB / 1.388 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=48): time 2.354e-06/0.5058, allocations: 0 / 1.388 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of matching and sorting (n=48): time 0.001038/0.5068, allocations: 0.4895 MB / 1.388 GB, free: 1.969 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.5069, allocations: 114.8 kB / 1.389 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.507, allocations: 158.6 kB / 1.389 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.5071, allocations: 41.7 kB / 1.389 GB, free: 1.621 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.5072, allocations: 125.1 kB / 1.389 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.5074, allocations: 150 kB / 1.389 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.5074, allocations: 8 kB / 1.389 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.5076, allocations: 342.8 kB / 1.389 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.5079, allocations: 153.2 kB / 1.389 GB, free: 0.8477 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.5083, allocations: 256.7 kB / 1.39 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.5086, allocations: 168 kB / 1.39 GB, free: 404 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5086, allocations: 0 / 1.39 GB, free: 404 kB / 0.8855 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000895/0.5095, allocations: 0.4896 MB / 1.39 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.5095, allocations: 7.938 kB / 1.39 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5096, allocations: 4 kB / 1.39 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.5096, allocations: 8 kB / 1.39 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.51, allocations: 103.8 kB / 1.39 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.51, allocations: 4 kB / 1.39 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.5103, allocations: 71.56 kB / 1.391 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.5104, allocations: 20 kB / 1.391 GB, free: 15.68 MB / 0.9011 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.0001931/0.5106, allocations: 173.1 kB / 1.391 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.5107, allocations: 23.72 kB / 1.391 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.5107, allocations: 29.88 kB / 1.391 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5107, allocations: 4 kB / 1.391 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.5108, allocations: 4 kB / 1.391 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.5108, allocations: 3.984 kB / 1.391 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.5112, allocations: 369.1 kB / 1.391 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.5112, allocations: 0 / 1.391 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.5117, allocations: 67.91 kB / 1.391 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.5117, allocations: 11.98 kB / 1.391 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.5117, allocations: 12 kB / 1.391 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5117, allocations: 4 kB / 1.391 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5117, allocations: 3.938 kB / 1.391 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.5128, allocations: 0.6209 MB / 1.392 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.693e-05/0.513, allocations: 100.8 kB / 1.392 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.513, allocations: 20.05 kB / 1.392 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.5133, allocations: 39.97 kB / 1.392 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.5134, allocations: 43.89 kB / 1.392 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.5134, allocations: 16 kB / 1.392 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001075/0.5135, allocations: 133.2 kB / 1.392 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5135, allocations: 0 / 1.392 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003666/0.5139, allocations: 83.84 kB / 1.392 GB, free: 13.82 MB / 0.9011 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.001571/0.5155, allocations: 1.324 MB / 1.394 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007245/0.5162, allocations: 394.7 kB / 1.394 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5163, allocations: 0 / 1.394 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.5166, allocations: 180.5 kB / 1.394 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.5169, allocations: 36.16 kB / 1.394 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.5191, allocations: 2.698 MB / 1.397 GB, free: 9.066 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.5195, allocations: 0.7725 MB / 1.397 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001906/0.5197, allocations: 43.23 kB / 1.398 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.5199, allocations: 87.77 kB / 1.398 GB, free: 8.137 MB / 0.9011 GB Notification: Performance of SimCode: time 5.31e-07/0.5199, allocations: 0 / 1.398 GB, free: 8.137 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.5398, allocations: 5.427 MB / 1.403 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.54, allocations: 208.3 kB / 1.403 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.585, allocations: 5.812 kB / 1.403 GB, free: 2.676 MB / 0.9011 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