Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009377/0.0009377, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009759/0.0009759, allocations: 177 kB / 23.36 MB, free: 1.137 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.083/1.083, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.557/2.557, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 3.938 kB / 0.8387 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.825e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003967/0.003995, allocations: 2.017 MB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.005319, allocations: 0.736 MB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.00542, allocations: 0 / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.888e-05/0.005469, allocations: 27.67 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.005593, allocations: 47.52 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.006036, allocations: 179.6 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.006394, allocations: 335 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.006513, allocations: 38.89 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.006805, allocations: 195.6 kB / 0.8422 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.006981, allocations: 123.6 kB / 0.8423 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.007024, allocations: 28 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.007105, allocations: 35.98 kB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.007168, allocations: 83.7 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.779e-05/0.007256, allocations: 99.78 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.007531, allocations: 239.2 kB / 0.8428 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.007534, allocations: 0 / 0.8428 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.022e-06/0.007535, allocations: 0 / 0.8428 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.00754, allocations: 0 / 0.8428 GB, free: 9.875 MB / 0.8073 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.0008703/0.008411, allocations: 0.539 MB / 0.8433 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.008441, allocations: 8.625 kB / 0.8433 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.008647, allocations: 68.88 kB / 0.8434 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.008845, allocations: 174.1 kB / 0.8435 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/0.009136, allocations: 499.7 kB / 0.844 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.009177, allocations: 32.38 kB / 0.844 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.009426, allocations: 211.7 kB / 0.8442 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.009443, allocations: 8.141 kB / 0.8443 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.009461, allocations: 16.06 kB / 0.8443 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.009472, allocations: 4 kB / 0.8443 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.009583, allocations: 63.91 kB / 0.8443 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.01019, allocations: 0.5001 MB / 0.8448 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.01042, allocations: 131.6 kB / 0.8449 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.092e-05/0.01049, allocations: 62.56 kB / 0.845 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.01053, allocations: 12 kB / 0.845 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.01077, allocations: 248.2 kB / 0.8453 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=48): time 2.144e-06/0.01077, allocations: 0 / 0.8453 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48): time 0.0005366/0.01131, allocations: 248.8 kB / 0.8455 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.01137, allocations: 119.1 kB / 0.8456 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.01148, allocations: 187.5 kB / 0.8458 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.0115, allocations: 45.7 kB / 0.8458 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.01155, allocations: 113.3 kB / 0.8459 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.046e-05/0.01164, allocations: 154.7 kB / 0.8461 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.01175, allocations: 110.3 kB / 0.8462 GB, free: 6.059 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.01184, allocations: 342.8 kB / 0.8465 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.01191, allocations: 53.28 kB / 0.8466 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.01203, allocations: 172.7 kB / 0.8467 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.01225, allocations: 261.9 kB / 0.847 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.01226, allocations: 0 / 0.847 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003039/0.01256, allocations: 293.4 kB / 0.8473 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01258, allocations: 8 kB / 0.8473 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01258, allocations: 4 kB / 0.8473 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.0126, allocations: 8 kB / 0.8473 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.01281, allocations: 99.83 kB / 0.8474 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.01282, allocations: 7.938 kB / 0.8474 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.01294, allocations: 67.64 kB / 0.8474 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.01296, allocations: 12 kB / 0.8475 GB, free: 4.668 MB / 0.8073 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.0001026/0.01307, allocations: 147.7 kB / 0.8476 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.0131, allocations: 35.97 kB / 0.8476 GB, free: 4.477 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.01315, allocations: 37.95 kB / 0.8477 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.01315, allocations: 4 kB / 0.8477 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.01316, allocations: 0 / 0.8477 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.01316, allocations: 7.922 kB / 0.8477 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.01333, allocations: 169.6 kB / 0.8478 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01334, allocations: 0 / 0.8478 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.01354, allocations: 75.89 kB / 0.8479 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01355, allocations: 4 kB / 0.8479 GB, free: 4.172 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.01357, allocations: 15.98 kB / 0.8479 GB, free: 4.156 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01357, allocations: 4 kB / 0.8479 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01357, allocations: 4 kB / 0.8479 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.01394, allocations: 334.6 kB / 0.8483 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.01396, allocations: 27.8 kB / 0.8483 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.01398, allocations: 11.98 kB / 0.8483 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.01408, allocations: 31.97 kB / 0.8483 GB, free: 3.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/0.01417, allocations: 63.84 kB / 0.8484 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.01419, allocations: 15.98 kB / 0.8484 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.01423, allocations: 49.98 kB / 0.8485 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01423, allocations: 0 / 0.8485 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002077/0.01443, allocations: 91.83 kB / 0.8485 GB, free: 3.512 MB / 0.8073 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.0001182/0.01455, allocations: 97.42 kB / 0.8486 GB, free: 3.406 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006532/0.01521, allocations: 238.6 kB / 0.8489 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.01521, allocations: 0 / 0.8489 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.01534, allocations: 121.6 kB / 0.849 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.01552, allocations: 48.88 kB / 0.849 GB, free: 3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008154/0.01634, allocations: 0.5655 MB / 0.8496 GB, free: 2.398 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.01639, allocations: 109.4 kB / 0.8497 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.01649, allocations: 39.19 kB / 0.8497 GB, free: 2.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.01664, allocations: 107.4 kB / 0.8498 GB, free: 2.125 MB / 0.8073 GB Notification: Performance of SimCode: time 7.61e-07/0.01664, allocations: 0 / 0.8498 GB, free: 2.125 MB / 0.8073 GB Notification: Performance of Templates: time 0.005835/0.02247, allocations: 3.955 MB / 0.8537 GB, free: 14.23 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.570738759357482]