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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000779/0.0007789, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005516/0.005516, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004278, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.611/0.6114, allocations: 142.4 MB / 0.9552 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart): time 0.001369/0.6128, allocations: 1.662 MB / 0.9568 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006614/0.6135, allocations: 0.6339 MB / 0.9574 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.6135, allocations: 1.094 kB / 0.9574 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.6136, allocations: 11.86 kB / 0.9574 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.251e-05/0.6137, allocations: 36.8 kB / 0.9575 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.6139, allocations: 130.1 kB / 0.9576 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000211/0.6142, allocations: 309.5 kB / 0.9579 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.6142, allocations: 47.44 kB / 0.9579 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.6144, allocations: 110.6 kB / 0.9581 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.6145, allocations: 137.8 kB / 0.9582 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.6145, allocations: 14.56 kB / 0.9582 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.111e-05/0.6146, allocations: 15.03 kB / 0.9582 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.019e-05/0.6146, allocations: 63.34 kB / 0.9583 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.131e-05/0.6147, allocations: 150.8 kB / 0.9584 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.6149, allocations: 280.4 kB / 0.9587 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.6149, allocations: 0 / 0.9587 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.91e-07/0.6149, allocations: 1.562 kB / 0.9587 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.6149, allocations: 0 / 0.9587 GB, free: 5.02 MB / 0.7169 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.000834/0.6157, allocations: 0.6104 MB / 0.9593 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.59e-05/0.6158, allocations: 9.625 kB / 0.9593 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.518e-05/0.6158, allocations: 57.61 kB / 0.9593 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.6159, allocations: 34.44 kB / 0.9594 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.557e-05/0.616, allocations: 202.4 kB / 0.9596 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.6161, allocations: 263.6 kB / 0.9598 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.6161, allocations: 34.16 kB / 0.9599 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.6165, allocations: 266.1 kB / 0.9601 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6165, allocations: 1.375 kB / 0.9601 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.6166, allocations: 14.73 kB / 0.9601 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6166, allocations: 4.125 kB / 0.9601 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.6169, allocations: 185.7 kB / 0.9603 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007391/0.6177, allocations: 0.7888 MB / 0.9611 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.6181, allocations: 211.7 kB / 0.9613 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.6183, allocations: 141.4 kB / 0.9614 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.6183, allocations: 14.55 kB / 0.9614 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.6188, allocations: 326.5 kB / 0.9617 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=48): time 1.573e-06/0.6188, allocations: 1.031 kB / 0.9617 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.0008609/0.6197, allocations: 0.4917 MB / 0.9622 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.6197, allocations: 119.4 kB / 0.9623 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.6198, allocations: 179.6 kB / 0.9625 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.6198, allocations: 38.64 kB / 0.9625 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.6199, allocations: 119.5 kB / 0.9627 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.628e-05/0.62, allocations: 148.7 kB / 0.9628 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.62, allocations: 61.92 kB / 0.9629 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.6201, allocations: 338.5 kB / 0.9632 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.6204, allocations: 158.4 kB / 0.9633 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.6207, allocations: 260.7 kB / 0.9636 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005278/0.6212, allocations: 405.2 kB / 0.964 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6212, allocations: 0.9688 kB / 0.964 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006843/0.6219, allocations: 0.4982 MB / 0.9645 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.6219, allocations: 5.125 kB / 0.9645 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.6219, allocations: 4.125 kB / 0.9645 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.6219, allocations: 4.375 kB / 0.9645 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.6223, allocations: 96.89 kB / 0.9646 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6223, allocations: 9.281 kB / 0.9646 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.6226, allocations: 72.64 kB / 0.9646 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.6226, allocations: 19.66 kB / 0.9647 GB, free: 468 kB / 0.7169 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.0001071/0.6227, allocations: 156.4 kB / 0.9648 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.6227, allocations: 28.31 kB / 0.9648 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.6228, allocations: 38.64 kB / 0.9649 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.6228, allocations: 5.688 kB / 0.9649 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6228, allocations: 1.281 kB / 0.9649 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6228, allocations: 5.203 kB / 0.9649 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.6231, allocations: 359.9 kB / 0.9652 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6231, allocations: 4.781 kB / 0.9652 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.6235, allocations: 78.67 kB / 0.9653 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.6235, allocations: 2.156 kB / 0.9653 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.6235, allocations: 12.92 kB / 0.9653 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.6236, allocations: 6.375 kB / 0.9653 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6236, allocations: 1 kB / 0.9653 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009859/0.6246, allocations: 0.6001 MB / 0.9659 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.6246, allocations: 109.5 kB / 0.966 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.6247, allocations: 10.97 kB / 0.966 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.6249, allocations: 54.8 kB / 0.9661 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.625, allocations: 56.11 kB / 0.9661 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.6251, allocations: 14.66 kB / 0.9661 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.858e-05/0.6251, allocations: 124.8 kB / 0.9663 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6251, allocations: 0.9688 kB / 0.9663 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002818/0.6254, allocations: 74.88 kB / 0.9663 GB, free: 15.26 MB / 0.7325 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.001257/0.6267, allocations: 1.17 MB / 0.9675 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006597/0.6274, allocations: 404 kB / 0.9679 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.6274, allocations: 0 / 0.9679 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.6277, allocations: 211.3 kB / 0.9681 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.628, allocations: 39.58 kB / 0.9681 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.6317, allocations: 3.305 MB / 0.9713 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.6319, allocations: 0.7622 MB / 0.9721 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.6321, allocations: 40.36 kB / 0.9721 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.6322, allocations: 85.44 kB / 0.9722 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.6322, allocations: 0 / 0.9722 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7708/1.403, allocations: 5.778 MB / 0.9778 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003472/1.403, allocations: 233.9 kB / 0.9781 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/3.24, allocations: 0 / 0.9781 GB, free: 7.324 MB / 0.7325 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/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