Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009812/0.0009812, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001089/0.001089, allocations: 165.9 kB / 24.86 MB, free: 9.254 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.954/1.954, allocations: 377.9 MB / 0.6247 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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,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") 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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8129 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.92e-05, allocations: 6.25 kB / 0.8129 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001471/0.00149, allocations: 1.057 MB / 0.8139 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.002572, allocations: 1.16 MB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.002632, allocations: 4.906 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.002676, allocations: 23.67 kB / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.002765, allocations: 37.5 kB / 0.8151 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.003111, allocations: 155.7 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.003347, allocations: 340.4 kB / 0.8156 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.003456, allocations: 32.52 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.003681, allocations: 199.7 kB / 0.8158 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.003812, allocations: 116.8 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.003846, allocations: 28 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-05/0.0039, allocations: 36 kB / 0.816 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.003949, allocations: 76.7 kB / 0.816 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.00402, allocations: 103.8 kB / 0.8161 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.004224, allocations: 232 kB / 0.8163 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004226, allocations: 0 / 0.8163 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004227, allocations: 0.875 kB / 0.8163 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.004232, allocations: 0 / 0.8163 GB, free: 13.77 MB / 0.7761 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.0007215/0.004953, allocations: 0.6639 MB / 0.817 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.004986, allocations: 8.031 kB / 0.817 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.005194, allocations: 81.66 kB / 0.8171 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.005302, allocations: 141.2 kB / 0.8172 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/0.005544, allocations: 0.4919 MB / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.005588, allocations: 30.19 kB / 0.8177 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.00585, allocations: 220.2 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.005863, allocations: 8.125 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.00588, allocations: 8.375 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005887, allocations: 9.656 kB / 0.818 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.006001, allocations: 75.86 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.006624, allocations: 0.7412 MB / 0.8188 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.006825, allocations: 161.1 kB / 0.8189 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.75e-05/0.006903, allocations: 87.55 kB / 0.819 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.006928, allocations: 8.75 kB / 0.819 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.00715, allocations: 264 kB / 0.8193 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 1.422e-06/0.007152, allocations: 0 / 0.8193 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.0004021/0.007554, allocations: 340.5 kB / 0.8196 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.007614, allocations: 114.8 kB / 0.8197 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.007725, allocations: 232.1 kB / 0.8199 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.007753, allocations: 42.33 kB / 0.8199 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.007819, allocations: 164 kB / 0.8201 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.111e-05/0.00791, allocations: 159.4 kB / 0.8203 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.008012, allocations: 119.9 kB / 0.8204 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.008164, allocations: 0.5168 MB / 0.8209 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.611e-05/0.00824, allocations: 65.25 kB / 0.8209 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.008377, allocations: 206.9 kB / 0.8211 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.008634, allocations: 292.5 kB / 0.8214 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.008638, allocations: 5.156 kB / 0.8214 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003514/0.008989, allocations: 361.5 kB / 0.8218 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.009009, allocations: 8 kB / 0.8218 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.009015, allocations: 0 / 0.8218 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.009029, allocations: 13.02 kB / 0.8218 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.009226, allocations: 87.84 kB / 0.8219 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.009233, allocations: 8.797 kB / 0.8219 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.009361, allocations: 60.62 kB / 0.8219 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.009383, allocations: 20.06 kB / 0.822 GB, free: 7.555 MB / 0.7761 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.0001096/0.009493, allocations: 199.7 kB / 0.8221 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.009541, allocations: 48.67 kB / 0.8222 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.009581, allocations: 29.97 kB / 0.8222 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.009585, allocations: 8 kB / 0.8222 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.009588, allocations: 2.062 kB / 0.8222 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.009594, allocations: 3.984 kB / 0.8222 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.009962, allocations: 209 kB / 0.8224 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.009963, allocations: 0 / 0.8224 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.01016, allocations: 67.91 kB / 0.8225 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01016, allocations: 4.656 kB / 0.8225 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.01018, allocations: 11.98 kB / 0.8225 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01018, allocations: 7.438 kB / 0.8225 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01018, allocations: 0 / 0.8225 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.01061, allocations: 438.6 kB / 0.8229 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.01063, allocations: 23.8 kB / 0.823 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.01066, allocations: 8 kB / 0.823 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.01076, allocations: 35.95 kB / 0.823 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.01088, allocations: 64.44 kB / 0.8231 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.0109, allocations: 12.09 kB / 0.8231 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.382e-05/0.01095, allocations: 164.5 kB / 0.8232 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01095, allocations: 1.375 kB / 0.8232 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001979/0.01115, allocations: 76 kB / 0.8233 GB, free: 6.113 MB / 0.7761 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 9.791e-05/0.01125, allocations: 121.9 kB / 0.8234 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.01153, allocations: 253.7 kB / 0.8237 GB, free: 5.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01153, allocations: 0 / 0.8237 GB, free: 5.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.01166, allocations: 128.4 kB / 0.8238 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.01188, allocations: 52 kB / 0.8238 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008335/0.01272, allocations: 0.5623 MB / 0.8244 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.973e-05/0.01277, allocations: 97.52 kB / 0.8245 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.249e-05/0.01286, allocations: 38.06 kB / 0.8245 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.013, allocations: 134.2 kB / 0.8246 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.013, allocations: 0 / 0.8246 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of Templates: time 0.006099/0.0191, allocations: 4.482 MB / 0.829 GB, free: 276 kB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.304520799312741]