Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001155/0.001155, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008441/0.008441, allocations: 171.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.394/2.394, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.00033, allocations: 10.77 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2433, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.001798/0.2451, allocations: 1.679 MB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009131/0.2461, allocations: 0.6428 MB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.815e-05/0.2462, allocations: 0 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.2462, allocations: 11.86 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.2463, allocations: 35.7 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.2467, allocations: 135.8 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.247, allocations: 303.2 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2471, allocations: 44.33 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.2473, allocations: 115.6 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.2474, allocations: 135.4 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.2475, allocations: 12 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.412e-05/0.2475, allocations: 16 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.2476, allocations: 59.8 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.2477, allocations: 149.1 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.2479, allocations: 287.2 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2479, allocations: 0 / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2479, allocations: 0 / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2479, allocations: 0 / 1.062 GB, free: 1.227 MB / 0.8106 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.001006/0.2489, allocations: 0.6081 MB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.249, allocations: 11.97 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.166e-05/0.2491, allocations: 62.72 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.2491, allocations: 32.66 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2493, allocations: 200.7 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.2495, allocations: 268.3 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.2495, allocations: 24.38 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.25, allocations: 265.7 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.25, allocations: 7.906 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.25, allocations: 12 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.25, allocations: 8 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.2504, allocations: 187.8 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009163/0.2514, allocations: 0.7815 MB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.2518, allocations: 211.7 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.252, allocations: 138.5 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.2521, allocations: 12.3 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004651/0.2525, allocations: 311.7 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 1.873e-06/0.2526, allocations: 0 / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.000925/0.2535, allocations: 0.4984 MB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.2536, allocations: 118.8 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.2537, allocations: 184.2 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.2537, allocations: 37.7 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.2538, allocations: 113.3 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.962e-05/0.2539, allocations: 154 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.254, allocations: 57.69 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.2541, allocations: 342.8 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.2544, allocations: 149.2 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.2547, allocations: 256.8 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006987/0.2554, allocations: 418 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2554, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00121/0.2567, allocations: 0.5012 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2567, allocations: 4 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2567, allocations: 4 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.2567, allocations: 4 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.2571, allocations: 107.8 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.2571, allocations: 11.94 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.2574, allocations: 63.66 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.2574, allocations: 24 kB / 1.068 GB, free: 10.69 MB / 0.8262 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 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.mode,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.2576, allocations: 163.4 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.53e-05/0.2577, allocations: 35.5 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.576e-05/0.2577, allocations: 29.88 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2578, allocations: 8 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.2578, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.2578, allocations: 3.984 kB / 1.069 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.2581, allocations: 353.2 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2581, allocations: 7.938 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.2585, allocations: 79.89 kB / 1.069 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.2585, allocations: 4 kB / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.2586, allocations: 8 kB / 1.069 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2586, allocations: 4 kB / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2586, allocations: 0 / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.2596, allocations: 0.6031 MB / 1.07 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.2597, allocations: 104.7 kB / 1.07 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.2597, allocations: 11.98 kB / 1.07 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.26, allocations: 43.97 kB / 1.07 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.2601, allocations: 59.92 kB / 1.07 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.2601, allocations: 11.98 kB / 1.07 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001315/0.2603, allocations: 132.3 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2603, allocations: 3.938 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003599/0.2607, allocations: 76 kB / 1.07 GB, free: 8.863 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001279/0.2619, allocations: 1.162 MB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007063/0.2627, allocations: 398.7 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2627, allocations: 0 / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.2631, allocations: 204.7 kB / 1.072 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.2635, allocations: 57.53 kB / 1.072 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.2675, allocations: 3.306 MB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.2678, allocations: 0.7647 MB / 1.076 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000157/0.2679, allocations: 43.23 kB / 1.076 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.2681, allocations: 83.41 kB / 1.076 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of SimCode: time 7.31e-07/0.2681, allocations: 0 / 1.076 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.191/3.459, allocations: 5.779 MB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/3.459, allocations: 231.6 kB / 1.082 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/5.217, allocations: 0 / 1.082 GB, free: 12.81 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat does not exist to compare? outputFormat=mat