Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 249.9 MB, free: 3.242 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 443.5 MB / 0.731 GB, free: 14.15 MB / 0.5763 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=513,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=513,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 76.03 kB / 1.06 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3204, allocations: 160.7 MB / 1.217 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002373/0.3228, allocations: 1.12 MB / 1.218 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3242, allocations: 1.112 MB / 1.219 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.3243, allocations: 0 / 1.219 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.845e-05/0.3243, allocations: 15.75 kB / 1.219 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.3245, allocations: 47.52 kB / 1.219 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.3249, allocations: 155.7 kB / 1.219 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.3253, allocations: 331.1 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3254, allocations: 32.39 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.3256, allocations: 135.6 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.3259, allocations: 143.4 kB / 1.22 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.917e-05/0.3259, allocations: 32 kB / 1.22 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.326, allocations: 28 kB / 1.22 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/0.326, allocations: 83.78 kB / 1.22 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.3262, allocations: 135.4 kB / 1.22 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.3265, allocations: 314.7 kB / 1.22 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3265, allocations: 0 / 1.22 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3265, allocations: 0 / 1.22 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3265, allocations: 0 / 1.22 GB, free: 11.84 MB / 0.9669 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.001318/0.3279, allocations: 0.639 MB / 1.221 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3279, allocations: 11.98 kB / 1.221 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/0.328, allocations: 32.8 kB / 1.221 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.3281, allocations: 189 kB / 1.221 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/0.3284, allocations: 272.3 kB / 1.221 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.3285, allocations: 32.33 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.329, allocations: 262.3 kB / 1.222 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.329, allocations: 3.938 kB / 1.222 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.329, allocations: 8 kB / 1.222 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.329, allocations: 4 kB / 1.222 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.3295, allocations: 179.9 kB / 1.222 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.3306, allocations: 0.7737 MB / 1.222 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.3311, allocations: 203.7 kB / 1.223 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.3314, allocations: 127.2 kB / 1.223 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.3314, allocations: 7.984 kB / 1.223 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005891/0.332, allocations: 315.8 kB / 1.223 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=48): time 1.703e-06/0.332, allocations: 0 / 1.223 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.001096/0.3331, allocations: 0.4891 MB / 1.224 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.161e-05/0.3332, allocations: 110.8 kB / 1.224 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3334, allocations: 179.4 kB / 1.224 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.3334, allocations: 37.7 kB / 1.224 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.3335, allocations: 125.3 kB / 1.224 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.3336, allocations: 154.7 kB / 1.224 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.3338, allocations: 106.3 kB / 1.224 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.334, allocations: 342.8 kB / 1.225 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.3343, allocations: 149.2 kB / 1.225 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.3346, allocations: 248.8 kB / 1.225 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.3353, allocations: 398 kB / 1.225 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3353, allocations: 4 kB / 1.225 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008835/0.3362, allocations: 0.4896 MB / 1.226 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.3362, allocations: 13.81 kB / 1.226 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3362, allocations: 0 / 1.226 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.3362, allocations: 8 kB / 1.226 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.3367, allocations: 91.83 kB / 1.226 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.3367, allocations: 8 kB / 1.226 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.3369, allocations: 59.73 kB / 1.226 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.337, allocations: 20 kB / 1.226 GB, free: 5.395 MB / 0.9669 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.0001864/0.3372, allocations: 159.4 kB / 1.226 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.3372, allocations: 31.75 kB / 1.226 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.487e-05/0.3373, allocations: 37.86 kB / 1.226 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3373, allocations: 4 kB / 1.226 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3373, allocations: 0 / 1.226 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.3373, allocations: 11.92 kB / 1.226 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.3377, allocations: 353.3 kB / 1.227 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3377, allocations: 4 kB / 1.227 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.3381, allocations: 71.89 kB / 1.227 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.3381, allocations: 7.938 kB / 1.227 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.3382, allocations: 15.92 kB / 1.227 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3382, allocations: 4 kB / 1.227 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3382, allocations: 0 / 1.227 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.3392, allocations: 0.5786 MB / 1.227 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.3393, allocations: 104.9 kB / 1.227 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.3394, allocations: 11.94 kB / 1.227 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.3396, allocations: 39.95 kB / 1.227 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3397, allocations: 39.98 kB / 1.227 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.3397, allocations: 19.98 kB / 1.227 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.906e-05/0.3398, allocations: 121.2 kB / 1.228 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3398, allocations: 0 / 1.228 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003443/0.3402, allocations: 80 kB / 1.228 GB, free: 3.613 MB / 0.9669 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.0001849/0.3404, allocations: 128 kB / 1.228 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007522/0.3411, allocations: 366.8 kB / 1.228 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3411, allocations: 3.938 kB / 1.228 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.3415, allocations: 177.4 kB / 1.228 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3418, allocations: 51.83 kB / 1.228 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.343, allocations: 0.6501 MB / 1.229 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.3434, allocations: 0.7647 MB / 1.23 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.3436, allocations: 43.42 kB / 1.23 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.3436, allocations: 0 / 1.23 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of Templates: time 0.006812/0.3504, allocations: 3.981 MB / 1.234 GB, free: 13.42 MB / 0.9825 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches