Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.352/2.352, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001308/0.001308, allocations: 171.1 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.364/2.364, allocations: 205.4 MB / 0.5772 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009154/0.0009152, allocations: 88.19 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006626/0.0006629, allocations: 14.34 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2368, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.4675, allocations: 132.3 MB / 1.029 GB, free: 13.03 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.4678, allocations: 75.95 kB / 1.029 GB, free: 12.95 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.03548/0.5033, allocations: 7.077 MB / 1.036 GB, free: 5.859 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.993e-06/0.5033, allocations: 0 / 1.036 GB, free: 5.859 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.5034, allocations: 4 kB / 1.036 GB, free: 5.855 MB / 0.6824 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.001819/0.5052, allocations: 0.6263 MB / 1.036 GB, free: 5.176 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5052, allocations: 8.031 kB / 1.036 GB, free: 5.168 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.5054, allocations: 40.48 kB / 1.036 GB, free: 5.129 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.5056, allocations: 193 kB / 1.037 GB, free: 4.898 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.5059, allocations: 264.2 kB / 1.037 GB, free: 4.582 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.986e-05/0.506, allocations: 32.36 kB / 1.037 GB, free: 4.551 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/0.5068, allocations: 270.4 kB / 1.037 GB, free: 4.277 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.775e-05/0.5069, allocations: 11.92 kB / 1.037 GB, free: 4.266 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.5069, allocations: 12 kB / 1.037 GB, free: 4.254 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.5069, allocations: 4 kB / 1.037 GB, free: 4.25 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007915/0.5077, allocations: 179.9 kB / 1.037 GB, free: 4.074 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.5096, allocations: 0.8049 MB / 1.038 GB, free: 3.211 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007818/0.5104, allocations: 213.5 kB / 1.038 GB, free: 2.977 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/0.5109, allocations: 138.5 kB / 1.038 GB, free: 2.832 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 6.12e-05/0.511, allocations: 7.984 kB / 1.038 GB, free: 2.824 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008773/0.5119, allocations: 315.6 kB / 1.039 GB, free: 2.492 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=48): time 4.148e-06/0.5119, allocations: 0 / 1.039 GB, free: 2.492 MB / 0.6824 GB Notification: Performance of matching and sorting (n=48): time 0.001826/0.5138, allocations: 499.7 kB / 1.039 GB, free: 2 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.5139, allocations: 114.8 kB / 1.039 GB, free: 1.863 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.5141, allocations: 179.5 kB / 1.039 GB, free: 1.676 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.5142, allocations: 37.7 kB / 1.04 GB, free: 1.633 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.5143, allocations: 125.2 kB / 1.04 GB, free: 1.504 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.5146, allocations: 150 kB / 1.04 GB, free: 1.355 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.5146, allocations: 8 kB / 1.04 GB, free: 1.348 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5148, allocations: 338.8 kB / 1.04 GB, free: 1.008 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.5154, allocations: 161.2 kB / 1.04 GB, free: 0.8516 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.5161, allocations: 252.8 kB / 1.041 GB, free: 0.5664 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006113/0.5167, allocations: 168 kB / 1.041 GB, free: 412 kB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5167, allocations: 7.875 kB / 1.041 GB, free: 404 kB / 0.6824 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001556/0.5183, allocations: 0.493 MB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.5183, allocations: 11.94 kB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.5183, allocations: 4 kB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/0.5184, allocations: 7.984 kB / 1.041 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007832/0.5192, allocations: 95.83 kB / 1.041 GB, free: 15.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.5192, allocations: 12 kB / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.5197, allocations: 67.66 kB / 1.041 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.5198, allocations: 20 kB / 1.041 GB, free: 15.68 MB / 0.698 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 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002904/0.5201, allocations: 167.9 kB / 1.042 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.357e-05/0.5202, allocations: 27.66 kB / 1.042 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.249e-05/0.5203, allocations: 29.88 kB / 1.042 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.5203, allocations: 11.94 kB / 1.042 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.5203, allocations: 3.984 kB / 1.042 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.5204, allocations: 0 / 1.042 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.5209, allocations: 353.1 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5209, allocations: 0 / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008284/0.5218, allocations: 79.89 kB / 1.042 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.5218, allocations: 11.94 kB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/0.5219, allocations: 12 kB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-06/0.5219, allocations: 0 / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.5219, allocations: 7.938 kB / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.5239, allocations: 0.5941 MB / 1.043 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.5241, allocations: 108.7 kB / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/0.5242, allocations: 15.94 kB / 1.043 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004668/0.5246, allocations: 43.97 kB / 1.043 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.5248, allocations: 40.03 kB / 1.043 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.5249, allocations: 19.94 kB / 1.043 GB, free: 14.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001542/0.5251, allocations: 125.2 kB / 1.043 GB, free: 13.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/0.5251, allocations: 4 kB / 1.043 GB, free: 13.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005196/0.5256, allocations: 80 kB / 1.043 GB, free: 13.87 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002584/0.5259, allocations: 123.2 kB / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.5273, allocations: 388.7 kB / 1.044 GB, free: 13.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5273, allocations: 0 / 1.044 GB, free: 13.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006526/0.528, allocations: 191.7 kB / 1.044 GB, free: 13.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.5285, allocations: 49.45 kB / 1.044 GB, free: 13.13 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.5304, allocations: 0.7064 MB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.5309, allocations: 0.7608 MB / 1.045 GB, free: 11.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003369/0.5312, allocations: 34.97 kB / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.5314, allocations: 43.42 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of SimCode: time 1.674e-06/0.5314, allocations: 192 / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of Templates: time 0.01084/0.5423, allocations: 3.04 MB / 1.048 GB, free: 8.516 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)