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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001018/0.001018, allocations: 108 kB / 15.61 MB, free: 152 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.00103/0.00103, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6106/0.6122, allocations: 140.3 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart): time 0.002579/0.6149, allocations: 1.962 MB / 0.9516 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008283/0.6157, allocations: 0.6513 MB / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.6158, allocations: 1.312 kB / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.439e-05/0.6159, allocations: 19.73 kB / 0.9523 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.665e-05/0.616, allocations: 44.77 kB / 0.9523 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.6163, allocations: 154.1 kB / 0.9525 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.6166, allocations: 320.8 kB / 0.9528 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.6167, allocations: 53.52 kB / 0.9529 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.6169, allocations: 135.3 kB / 0.953 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.617, allocations: 139.4 kB / 0.9531 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.6171, allocations: 30.47 kB / 0.9531 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.355e-05/0.6171, allocations: 32.78 kB / 0.9532 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.6172, allocations: 83.5 kB / 0.9533 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.896e-05/0.6173, allocations: 137.2 kB / 0.9534 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.6175, allocations: 295.4 kB / 0.9537 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6175, allocations: 5.688 kB / 0.9537 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6175, allocations: 0 / 0.9537 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.6175, allocations: 4 kB / 0.9537 GB, free: 6.121 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.001026/0.6185, allocations: 0.6329 MB / 0.9543 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.6186, allocations: 10.56 kB / 0.9543 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.6186, allocations: 58.27 kB / 0.9544 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.6187, allocations: 29.62 kB / 0.9544 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.024e-05/0.6188, allocations: 199.9 kB / 0.9546 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.619, allocations: 265.9 kB / 0.9548 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/0.619, allocations: 30.91 kB / 0.9549 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.6194, allocations: 264 kB / 0.9551 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.6195, allocations: 6.328 kB / 0.9551 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.6195, allocations: 6.25 kB / 0.9551 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.6195, allocations: 4.719 kB / 0.9551 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.6199, allocations: 178 kB / 0.9553 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008269/0.6207, allocations: 0.7796 MB / 0.9561 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.6211, allocations: 203.7 kB / 0.9563 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.6213, allocations: 130.9 kB / 0.9564 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.6214, allocations: 15.75 kB / 0.9564 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004222/0.6218, allocations: 313.1 kB / 0.9567 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=48): time 1.733e-06/0.6218, allocations: 0 / 0.9567 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.0008871/0.6227, allocations: 483.4 kB / 0.9572 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.6228, allocations: 118.1 kB / 0.9573 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.6229, allocations: 176.3 kB / 0.9574 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.6229, allocations: 38.17 kB / 0.9575 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.623, allocations: 128.3 kB / 0.9576 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.314e-05/0.6231, allocations: 140.8 kB / 0.9577 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.6232, allocations: 109 kB / 0.9578 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.545e-05/0.6233, allocations: 342.2 kB / 0.9582 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.6236, allocations: 148.2 kB / 0.9583 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.6239, allocations: 259.8 kB / 0.9585 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.6244, allocations: 393.5 kB / 0.9589 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.6244, allocations: 1.031 kB / 0.9589 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007494/0.6252, allocations: 495.1 kB / 0.9594 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6252, allocations: 9.844 kB / 0.9594 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.6252, allocations: 3.188 kB / 0.9594 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.6252, allocations: 5.094 kB / 0.9594 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.6256, allocations: 97.58 kB / 0.9595 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.6256, allocations: 9.578 kB / 0.9595 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.6259, allocations: 62.19 kB / 0.9596 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.6259, allocations: 18.75 kB / 0.9596 GB, free: 1.527 MB / 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.0001222/0.6261, allocations: 156.3 kB / 0.9597 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.6261, allocations: 32.7 kB / 0.9598 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.6262, allocations: 30.47 kB / 0.9598 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6262, allocations: 5.781 kB / 0.9598 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.6262, allocations: 5.078 kB / 0.9598 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.6262, allocations: 5.172 kB / 0.9598 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.6265, allocations: 359.9 kB / 0.9602 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6265, allocations: 9.141 kB / 0.9602 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.6269, allocations: 71.19 kB / 0.9602 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.6269, allocations: 3.156 kB / 0.9602 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.6269, allocations: 16.33 kB / 0.9603 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.6269, allocations: 3.25 kB / 0.9603 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.6269, allocations: 0 / 0.9603 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009274/0.6279, allocations: 0.5794 MB / 0.9608 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.6279, allocations: 108.6 kB / 0.9609 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.628, allocations: 20.11 kB / 0.9609 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.6282, allocations: 27.06 kB / 0.961 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.6283, allocations: 59.78 kB / 0.961 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.6283, allocations: 18.39 kB / 0.961 GB, free: 456 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.554e-05/0.6284, allocations: 121.5 kB / 0.9612 GB, free: 360 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6284, allocations: 0 / 0.9612 GB, free: 360 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003088/0.6287, allocations: 79.23 kB / 0.9612 GB, free: 344 kB / 0.7169 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.001266/0.63, allocations: 1.149 MB / 0.9624 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008014/0.6308, allocations: 409.2 kB / 0.9628 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6308, allocations: 0.9062 kB / 0.9628 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.6312, allocations: 200.9 kB / 0.9629 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.6316, allocations: 51.2 kB / 0.963 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.6356, allocations: 3.154 MB / 0.9661 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.6359, allocations: 0.7655 MB / 0.9668 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.6361, allocations: 36.59 kB / 0.9669 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.6363, allocations: 99.02 kB / 0.9669 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.6363, allocations: 3.938 kB / 0.967 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.6608, allocations: 6.548 MB / 0.9733 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/8.204, allocations: 19.02 kB / 0.9734 GB, free: 8.871 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