Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001253/0.001253, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.59/2.59, allocations: 469.8 MB / 0.7424 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 65.28 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2523, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002984/0.2553, allocations: 1.984 MB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.2563, allocations: 0.6505 MB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.838e-05/0.2564, allocations: 4 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.346e-05/0.2564, allocations: 23.73 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.2565, allocations: 35.59 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.2569, allocations: 143.7 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.2572, allocations: 319.1 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2573, allocations: 44.39 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.2575, allocations: 135.6 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.2577, allocations: 155.3 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.2578, allocations: 32 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.2578, allocations: 32 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.224e-05/0.2579, allocations: 71.8 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.258, allocations: 139.3 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.2583, allocations: 303.3 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2583, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2583, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.2584, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 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.00112/0.2595, allocations: 0.6236 MB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2595, allocations: 12.03 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.588e-05/0.2596, allocations: 58.72 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.2597, allocations: 28.66 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2598, allocations: 212.7 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/0.26, allocations: 264.2 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.2601, allocations: 32.36 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.2606, allocations: 257.7 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.2606, allocations: 7.906 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.2606, allocations: 4 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.2606, allocations: 8 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004074/0.261, allocations: 179.8 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.2621, allocations: 0.7736 MB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.2625, allocations: 211.7 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.2628, allocations: 126.5 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.2628, allocations: 16.31 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004999/0.2633, allocations: 307.5 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 3.757e-06/0.2633, allocations: 0 / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.000979/0.2643, allocations: 493.2 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.2644, allocations: 114.8 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.2646, allocations: 171.5 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.2646, allocations: 45.7 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.2647, allocations: 117.3 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.2648, allocations: 150 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.265, allocations: 106.3 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2651, allocations: 334.8 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.2654, allocations: 149.2 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.2658, allocations: 252.8 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.2664, allocations: 406 kB / 1.073 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2665, allocations: 0 / 1.073 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008124/0.2673, allocations: 485.4 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2673, allocations: 9.406 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2673, allocations: 4.156 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2673, allocations: 11.94 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.2677, allocations: 99.83 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.2677, allocations: 11.92 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.268, allocations: 59.55 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.268, allocations: 20 kB / 1.074 GB, free: 3.617 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.0001602/0.2682, allocations: 167.4 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.2682, allocations: 27.66 kB / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.911e-05/0.2683, allocations: 33.86 kB / 1.074 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2683, allocations: 7.938 kB / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2683, allocations: 0 / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2683, allocations: 4 kB / 1.074 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.2687, allocations: 353.2 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2687, allocations: 3.938 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.2691, allocations: 71.89 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2691, allocations: 0 / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.2692, allocations: 23.98 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2692, allocations: 0 / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2692, allocations: 0 / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.2702, allocations: 0.5903 MB / 1.075 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.2703, allocations: 108.8 kB / 1.075 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.2703, allocations: 11.98 kB / 1.075 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.2705, allocations: 27.95 kB / 1.075 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.2707, allocations: 55.94 kB / 1.075 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.2707, allocations: 20.05 kB / 1.075 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.245e-05/0.2708, allocations: 125.2 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2708, allocations: 0 / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000305/0.2711, allocations: 87.91 kB / 1.076 GB, free: 1.816 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.001347/0.2725, allocations: 1.147 MB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007504/0.2732, allocations: 410.6 kB / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2732, allocations: 0 / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.2736, allocations: 197.1 kB / 1.077 GB, free: 48 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.2739, allocations: 52.31 kB / 1.077 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.2779, allocations: 3.159 MB / 1.08 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.2783, allocations: 0.7647 MB / 1.081 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.2784, allocations: 38.97 kB / 1.081 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.2786, allocations: 87.41 kB / 1.081 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.2786, allocations: 7.938 kB / 1.081 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.71/3.988, allocations: 6.556 MB / 1.088 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/16.45, allocations: 11 kB / 1.088 GB, free: 5.34 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat does not exist to compare? outputFormat=mat