Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001252, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001268/0.001268, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.389/2.389, allocations: 437 MB / 0.7099 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.89 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.618/0.6194, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002748/0.6222, allocations: 2.027 MB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008285/0.623, allocations: 0.6506 MB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.929e-05/0.6231, allocations: 4 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.373e-05/0.6231, allocations: 11.86 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.515e-05/0.6232, allocations: 31.7 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.6236, allocations: 123.9 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.6238, allocations: 311.1 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.624, allocations: 48.33 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.6241, allocations: 119.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.6242, allocations: 147.4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.6243, allocations: 16 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.795e-05/0.6243, allocations: 16 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.6244, allocations: 63.78 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.6245, allocations: 123.4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.6247, allocations: 289.2 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.6248, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.81e-07/0.6248, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.6248, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 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.001113/0.6259, allocations: 0.6217 MB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.6259, allocations: 16.03 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.051e-05/0.626, allocations: 58.73 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.6261, allocations: 36.55 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.6262, allocations: 196.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.6264, allocations: 264.3 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.6265, allocations: 32.36 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.6269, allocations: 253.7 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.6269, allocations: 15.92 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.627, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.627, allocations: 11.94 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.6274, allocations: 167.9 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009688/0.6283, allocations: 0.7738 MB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/0.6288, allocations: 215.8 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.6291, allocations: 139.1 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.6291, allocations: 8.375 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004953/0.6296, allocations: 315.2 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=48): time 1.844e-06/0.6296, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48): time 0.000922/0.6305, allocations: 482.7 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.6306, allocations: 122.8 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.6308, allocations: 179.4 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.6308, allocations: 37.7 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.6309, allocations: 117.3 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.631, allocations: 153.9 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.6311, allocations: 102.3 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6312, allocations: 342.8 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.6315, allocations: 149.2 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.6319, allocations: 256.7 kB / 1.025 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005638/0.6325, allocations: 394.1 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6325, allocations: 0 / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007617/0.6332, allocations: 0.4935 MB / 1.026 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.6333, allocations: 4 kB / 1.026 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.6333, allocations: 4 kB / 1.026 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6333, allocations: 7.938 kB / 1.026 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.6336, allocations: 95.83 kB / 1.026 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.6336, allocations: 4 kB / 1.026 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.6339, allocations: 55.66 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.6339, allocations: 23.98 kB / 1.027 GB, free: 8.32 MB / 0.7794 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.0001356/0.6341, allocations: 160.1 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.6341, allocations: 35.56 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.6342, allocations: 33.86 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6342, allocations: 4 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6342, allocations: 4 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6342, allocations: 0 / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.6345, allocations: 357.2 kB / 1.027 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6346, allocations: 3.938 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.6349, allocations: 79.89 kB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6349, allocations: 0 / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.635, allocations: 15.98 kB / 1.027 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.635, allocations: 0 / 1.027 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.635, allocations: 7.938 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009366/0.6359, allocations: 0.5822 MB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.636, allocations: 108.8 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.636, allocations: 12 kB / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.6363, allocations: 39.83 kB / 1.028 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.6364, allocations: 47.94 kB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.6364, allocations: 24.08 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.379e-05/0.6365, allocations: 129.1 kB / 1.028 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6365, allocations: 0 / 1.028 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002875/0.6368, allocations: 83.98 kB / 1.028 GB, free: 6.516 MB / 0.7794 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.001217/0.638, allocations: 1.146 MB / 1.029 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006254/0.6387, allocations: 382.9 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6387, allocations: 4 kB / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.639, allocations: 195.8 kB / 1.03 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.6393, allocations: 47.84 kB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.6429, allocations: 3.244 MB / 1.033 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.6431, allocations: 0.7686 MB / 1.034 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.6433, allocations: 34.97 kB / 1.034 GB, free: 492 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.6434, allocations: 83.41 kB / 1.034 GB, free: 408 kB / 0.7794 GB Notification: Performance of SimCode: time 1.502e-06/0.6435, allocations: 0 / 1.034 GB, free: 408 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.6584, allocations: 5.877 MB / 1.04 GB, free: 10.69 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.6587, allocations: 219.9 kB / 1.04 GB, free: 10.44 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.435, allocations: 0 / 1.04 GB, free: 10.44 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat does not exist to compare? outputFormat=mat