Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001432/0.001432, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001243/0.001243, allocations: 165 kB / 24.17 MB, free: 332 kB / 18.57 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.054/1.054, allocations: 177.1 MB / 204.6 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.972/1.972, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.51e-05, allocations: 7.656 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002455/0.00248, allocations: 1.969 MB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.003558, allocations: 0.7378 MB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.003641, allocations: 1.094 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.196e-05/0.003683, allocations: 23.67 kB / 0.7628 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.003788, allocations: 46.27 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.004228, allocations: 176.8 kB / 0.763 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.004503, allocations: 339 kB / 0.7633 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.004612, allocations: 42.86 kB / 0.7633 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.004853, allocations: 204.2 kB / 0.7635 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.004979, allocations: 111.7 kB / 0.7636 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.005015, allocations: 33.06 kB / 0.7637 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.389e-05/0.005069, allocations: 32 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.005115, allocations: 79.77 kB / 0.7638 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.005179, allocations: 100.4 kB / 0.7639 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.005394, allocations: 240.4 kB / 0.7641 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.005396, allocations: 0 / 0.7641 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005397, allocations: 0 / 0.7641 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.005401, allocations: 0 / 0.7641 GB, free: 2.477 MB / 0.7136 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.0007039/0.006105, allocations: 0.543 MB / 0.7646 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.006139, allocations: 8.031 kB / 0.7646 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.006343, allocations: 74.64 kB / 0.7647 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.006544, allocations: 166 kB / 0.7649 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.006775, allocations: 495.7 kB / 0.7653 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.006819, allocations: 37.05 kB / 0.7654 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.007045, allocations: 208.6 kB / 0.7656 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.00706, allocations: 8.141 kB / 0.7656 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.007077, allocations: 12.67 kB / 0.7656 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.007085, allocations: 4 kB / 0.7656 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.609e-05/0.007181, allocations: 69.53 kB / 0.7657 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.007791, allocations: 0.5013 MB / 0.7662 GB, free: 192 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.007986, allocations: 127.6 kB / 0.7663 GB, free: 36 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.573e-05/0.008062, allocations: 71.39 kB / 0.7664 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.008089, allocations: 8 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.008295, allocations: 249.2 kB / 0.7666 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 1.503e-06/0.008296, allocations: 224 / 0.7666 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.0003169/0.008613, allocations: 262.4 kB / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.008666, allocations: 119.2 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.008768, allocations: 188.3 kB / 0.7671 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.008794, allocations: 45.64 kB / 0.7672 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.008837, allocations: 117.2 kB / 0.7673 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.769e-05/0.008915, allocations: 146.8 kB / 0.7674 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.009004, allocations: 114.3 kB / 0.7675 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002081/0.009212, allocations: 346.7 kB / 0.7679 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.009278, allocations: 53.28 kB / 0.7679 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.009391, allocations: 167.8 kB / 0.7681 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.009596, allocations: 261.9 kB / 0.7683 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.009599, allocations: 0 / 0.7683 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002858/0.009885, allocations: 285.2 kB / 0.7686 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.009898, allocations: 8 kB / 0.7686 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.009903, allocations: 0 / 0.7686 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.009919, allocations: 8 kB / 0.7686 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.01011, allocations: 95.83 kB / 0.7687 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.01012, allocations: 5.5 kB / 0.7687 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.01024, allocations: 63.64 kB / 0.7688 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.01026, allocations: 16.66 kB / 0.7688 GB, free: 13.29 MB / 0.7292 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.0001004/0.01036, allocations: 161.2 kB / 0.769 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.0104, allocations: 31.97 kB / 0.769 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.01043, allocations: 32.41 kB / 0.769 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01044, allocations: 4 kB / 0.769 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01044, allocations: 4 kB / 0.769 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.01045, allocations: 7.922 kB / 0.769 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.01061, allocations: 169.7 kB / 0.7692 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01061, allocations: 0 / 0.7692 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.01082, allocations: 63.91 kB / 0.7693 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01082, allocations: 6.688 kB / 0.7693 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.01085, allocations: 20.05 kB / 0.7693 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.01085, allocations: 7.938 kB / 0.7693 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01085, allocations: 0 / 0.7693 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.0112, allocations: 334.9 kB / 0.7696 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.01122, allocations: 31.73 kB / 0.7696 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.01125, allocations: 13.88 kB / 0.7696 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.01134, allocations: 27.97 kB / 0.7697 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.01144, allocations: 67.78 kB / 0.7697 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.01145, allocations: 18.42 kB / 0.7698 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.01149, allocations: 44.81 kB / 0.7698 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01149, allocations: 0 / 0.7698 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002089/0.0117, allocations: 79.94 kB / 0.7699 GB, free: 12.14 MB / 0.7292 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.0001172/0.01182, allocations: 98.25 kB / 0.77 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002659/0.01208, allocations: 235.4 kB / 0.7702 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.01209, allocations: 4 kB / 0.7702 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.01221, allocations: 116.7 kB / 0.7703 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.0124, allocations: 50.66 kB / 0.7704 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008967/0.0133, allocations: 0.5656 MB / 0.7709 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.01366, allocations: 99.45 kB / 0.771 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000102/0.01376, allocations: 45.69 kB / 0.771 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.01391, allocations: 111.4 kB / 0.7712 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of SimCode: time 1.132e-06/0.01391, allocations: 3.156 kB / 0.7712 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.005967/0.01987, allocations: 3.949 MB / 0.775 GB, free: 7.012 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.329424386844039]