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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 112.7 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 218.7 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.899/2.899, allocations: 476.7 MB / 0.7715 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 64.78 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3348, allocations: 170 MB / 1.284 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004239/0.339, allocations: 2.016 MB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.3404, allocations: 0.7457 MB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.53e-05/0.3405, allocations: 0 / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.32e-05/0.3406, allocations: 23.67 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.3407, allocations: 43.58 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.3412, allocations: 171.6 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.3417, allocations: 339 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.3418, allocations: 40.44 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.3422, allocations: 139.6 kB / 1.288 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.3424, allocations: 155.3 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.3424, allocations: 28 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-05/0.3425, allocations: 35.98 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.96e-05/0.3426, allocations: 79.78 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.3427, allocations: 131.4 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.3431, allocations: 315.4 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3432, allocations: 0 / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3432, allocations: 3.938 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.3432, allocations: 4 kB / 1.288 GB, free: 7.441 MB / 0.9825 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.001293/0.3445, allocations: 0.5599 MB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3445, allocations: 12.03 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.959e-05/0.3445, allocations: 4.625 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.677e-05/0.3446, allocations: 62.72 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/0.3449, allocations: 56.72 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.3453, allocations: 190.1 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/0.3457, allocations: 499.6 kB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.5e-05/0.3457, allocations: 36.12 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.3463, allocations: 261.7 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3463, allocations: 3.953 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.3463, allocations: 15.94 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3463, allocations: 4 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.3468, allocations: 171.9 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.348, allocations: 0.7495 MB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.3485, allocations: 205.7 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.3488, allocations: 126.5 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.3488, allocations: 16.36 kB / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005566/0.3494, allocations: 311.2 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 1.823e-06/0.3494, allocations: 0 / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.001112/0.3505, allocations: 488.6 kB / 1.292 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/0.3506, allocations: 118.8 kB / 1.292 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.3508, allocations: 176.8 kB / 1.292 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.3509, allocations: 41.69 kB / 1.292 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.351, allocations: 121.3 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.3511, allocations: 154.8 kB / 1.293 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.3513, allocations: 110.3 kB / 1.293 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.3515, allocations: 346.8 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/0.3518, allocations: 141.2 kB / 1.293 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.3523, allocations: 256.8 kB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007945/0.3531, allocations: 398 kB / 1.294 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3531, allocations: 0 / 1.294 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001071/0.3541, allocations: 496.9 kB / 1.294 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3542, allocations: 4 kB / 1.294 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3542, allocations: 7.938 kB / 1.294 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.3542, allocations: 4 kB / 1.294 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.3546, allocations: 99.81 kB / 1.294 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3546, allocations: 4 kB / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.3549, allocations: 63.75 kB / 1.294 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.3549, allocations: 20 kB / 1.294 GB, free: 0.7734 MB / 0.9825 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.0001924/0.3551, allocations: 155.5 kB / 1.295 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.3552, allocations: 35.73 kB / 1.295 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.693e-05/0.3553, allocations: 29.97 kB / 1.295 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.3553, allocations: 8 kB / 1.295 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3553, allocations: 4 kB / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3553, allocations: 3.984 kB / 1.295 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.3557, allocations: 336.2 kB / 1.295 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3557, allocations: 0 / 1.295 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.3561, allocations: 71.89 kB / 1.295 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3561, allocations: 0 / 1.295 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.3562, allocations: 16 kB / 1.295 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.3562, allocations: 3.938 kB / 1.295 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3562, allocations: 0 / 1.295 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.3574, allocations: 0.5901 MB / 1.296 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.3574, allocations: 27.75 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.3575, allocations: 15.92 kB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.3577, allocations: 36.12 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.3578, allocations: 63.92 kB / 1.296 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.3579, allocations: 19.98 kB / 1.296 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00011/0.358, allocations: 128.3 kB / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.358, allocations: 0 / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003303/0.3583, allocations: 80 kB / 1.296 GB, free: 15.09 MB / 0.9981 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.001546/0.3599, allocations: 1.152 MB / 1.297 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008132/0.3607, allocations: 364.1 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3607, allocations: 0 / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.3611, allocations: 191.6 kB / 1.298 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3614, allocations: 45.61 kB / 1.298 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.3662, allocations: 3.209 MB / 1.301 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.3667, allocations: 0.7648 MB / 1.302 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001835/0.3669, allocations: 42.95 kB / 1.302 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.3672, allocations: 95.41 kB / 1.302 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of SimCode: time 1.493e-06/0.3672, allocations: 0 / 1.302 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.4029, allocations: 7.026 MB / 1.309 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.23, allocations: 12.05 kB / 1.309 GB, free: 2.16 MB / 0.9981 GB " [Timeout remaining time 287] (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 --stepSize=0.32 --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) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.138507164956536]