Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.0009813/0.0009813, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009834/0.0009834, allocations: 171.5 kB / 24.87 MB, free: 9.258 MB / 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.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.794/1.794, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0.7656 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.151e-05, allocations: 6.203 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002396/0.002427, allocations: 1.06 MB / 0.7894 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.004042, allocations: 1.156 MB / 0.7906 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.004157, allocations: 0.6875 kB / 0.7906 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.273e-05/0.004199, allocations: 20.64 kB / 0.7906 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.004302, allocations: 44.17 kB / 0.7906 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.004716, allocations: 156.8 kB / 0.7908 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.004969, allocations: 335 kB / 0.7911 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.005108, allocations: 38.09 kB / 0.7911 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.00538, allocations: 199.6 kB / 0.7913 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.005548, allocations: 115.6 kB / 0.7914 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003549/0.005903, allocations: 31.5 kB / 0.7915 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.00598, allocations: 32 kB / 0.7915 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.006035, allocations: 79.77 kB / 0.7916 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.006112, allocations: 107.7 kB / 0.7917 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.006391, allocations: 231.2 kB / 0.7919 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.006397, allocations: 0 / 0.7919 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.452e-06/0.006399, allocations: 0 / 0.7919 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.006408, allocations: 4 kB / 0.7919 GB, free: 8.566 MB / 0.7448 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.0008883/0.007297, allocations: 0.6548 MB / 0.7925 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.007338, allocations: 8.875 kB / 0.7925 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.007586, allocations: 81.62 kB / 0.7926 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.007709, allocations: 149.1 kB / 0.7928 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.007925, allocations: 496.7 kB / 0.7932 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-05/0.007983, allocations: 28.38 kB / 0.7933 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.008243, allocations: 221.6 kB / 0.7935 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.008258, allocations: 192 / 0.7935 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.008276, allocations: 8.375 kB / 0.7935 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.008283, allocations: 8.125 kB / 0.7935 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.008412, allocations: 80.64 kB / 0.7936 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000671/0.009083, allocations: 0.7485 MB / 0.7943 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.009313, allocations: 158.2 kB / 0.7944 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.011e-05/0.009403, allocations: 84.62 kB / 0.7945 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.47e-05/0.009438, allocations: 11.94 kB / 0.7945 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.009699, allocations: 250.3 kB / 0.7948 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.054e-06/0.009701, allocations: 0 / 0.7948 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0004442/0.01015, allocations: 341.2 kB / 0.7951 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.0102, allocations: 119.4 kB / 0.7952 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.01032, allocations: 230.9 kB / 0.7954 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.01035, allocations: 42.2 kB / 0.7955 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.01043, allocations: 168 kB / 0.7956 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/0.01052, allocations: 155.4 kB / 0.7958 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.01063, allocations: 116.9 kB / 0.7959 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.01077, allocations: 0.5195 MB / 0.7964 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.01085, allocations: 65.25 kB / 0.7965 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.011, allocations: 211.1 kB / 0.7967 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.01124, allocations: 293.4 kB / 0.7969 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01124, allocations: 0 / 0.7969 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003898/0.01163, allocations: 369.7 kB / 0.7973 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.01165, allocations: 10.34 kB / 0.7973 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.01166, allocations: 1.188 kB / 0.7973 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.01167, allocations: 11.98 kB / 0.7973 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.01189, allocations: 87.84 kB / 0.7974 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.01189, allocations: 8.797 kB / 0.7974 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.01202, allocations: 60.62 kB / 0.7975 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.01204, allocations: 16 kB / 0.7975 GB, free: 2.352 MB / 0.7448 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.0001187/0.01216, allocations: 195.6 kB / 0.7977 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.01221, allocations: 48.64 kB / 0.7977 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.01225, allocations: 29.97 kB / 0.7977 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.01226, allocations: 10.22 kB / 0.7978 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01226, allocations: 0 / 0.7978 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.01227, allocations: 3.984 kB / 0.7978 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.01246, allocations: 216.8 kB / 0.798 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01246, allocations: 0 / 0.798 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.01267, allocations: 63.91 kB / 0.798 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01267, allocations: 7 kB / 0.798 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.01269, allocations: 15.98 kB / 0.798 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.0127, allocations: 4 kB / 0.798 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.0127, allocations: 0 / 0.798 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/0.01345, allocations: 438.7 kB / 0.7985 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.01348, allocations: 27.8 kB / 0.7985 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.01351, allocations: 8 kB / 0.7985 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.01362, allocations: 37.39 kB / 0.7985 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.01373, allocations: 63.91 kB / 0.7986 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.01375, allocations: 12.62 kB / 0.7986 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.485e-05/0.01382, allocations: 156 kB / 0.7988 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-07/0.01382, allocations: 0.5 kB / 0.7988 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00023/0.01405, allocations: 80.56 kB / 0.7988 GB, free: 0.9102 MB / 0.7448 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.0001584/0.01421, allocations: 121.3 kB / 0.799 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003196/0.01453, allocations: 257.1 kB / 0.7992 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01453, allocations: 0 / 0.7992 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.01467, allocations: 126.9 kB / 0.7993 GB, free: 416 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.01491, allocations: 49.06 kB / 0.7994 GB, free: 372 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008621/0.01577, allocations: 0.5586 MB / 0.7999 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.01583, allocations: 93.61 kB / 0.8 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.855e-05/0.01593, allocations: 38.22 kB / 0.8 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.01608, allocations: 131.3 kB / 0.8002 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of SimCode: time 9.51e-07/0.01608, allocations: 0 / 0.8002 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of Templates: time 0.006206/0.02229, allocations: 4.485 MB / 0.8045 GB, free: 11.07 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.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.159436083864421]