Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.595/1.595, allocations: 249.3 MB / 261.8 MB, free: 5.805 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009826/0.0009824, allocations: 168.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.1 MB / 0.572 GB, free: 10.71 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.000882/0.0008822, allocations: 98.41 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.079e-05/4.083e-05, allocations: 11.98 kB / 0.7881 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2639, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7747/1.039, allocations: 132.4 MB / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/1.039, allocations: 78.52 kB / 1.021 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02551/1.065, allocations: 8.735 MB / 1.03 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.653e-06/1.065, allocations: 0 / 1.03 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.092e-05/1.065, allocations: 4 kB / 1.03 GB, free: 11.01 MB / 0.6511 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.001067/1.066, allocations: 0.6105 MB / 1.03 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.066, allocations: 8.031 kB / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.533e-05/1.066, allocations: 58.3 kB / 1.03 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.979e-05/1.066, allocations: 35.62 kB / 1.031 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/1.066, allocations: 191 kB / 1.031 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/1.066, allocations: 269.5 kB / 1.031 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/1.066, allocations: 26.94 kB / 1.031 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/1.067, allocations: 248.9 kB / 1.031 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/1.067, allocations: 4 kB / 1.031 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/1.067, allocations: 10.92 kB / 1.031 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.067, allocations: 8 kB / 1.031 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/1.067, allocations: 135.3 kB / 1.031 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/1.068, allocations: 0.8043 MB / 1.032 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/1.069, allocations: 190.9 kB / 1.032 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/1.069, allocations: 120.6 kB / 1.032 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/1.069, allocations: 12.16 kB / 1.032 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004356/1.069, allocations: 291 kB / 1.033 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 1.924e-06/1.069, allocations: 0 / 1.033 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0005895/1.07, allocations: 330.6 kB / 1.033 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/1.07, allocations: 114.8 kB / 1.033 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/1.07, allocations: 157.3 kB / 1.033 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/1.07, allocations: 44.2 kB / 1.033 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/1.07, allocations: 126.1 kB / 1.033 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/1.071, allocations: 142.9 kB / 1.034 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/1.071, allocations: 12.88 kB / 1.034 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.071, allocations: 343.8 kB / 1.034 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/1.071, allocations: 132.4 kB / 1.034 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/1.071, allocations: 239.5 kB / 1.034 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/1.071, allocations: 142.3 kB / 1.034 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.071, allocations: 0 / 1.034 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006492/1.072, allocations: 449.9 kB / 1.035 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.072, allocations: 12 kB / 1.035 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.072, allocations: 4 kB / 1.035 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/1.072, allocations: 4 kB / 1.035 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/1.073, allocations: 97.52 kB / 1.035 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/1.073, allocations: 15.92 kB / 1.035 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/1.073, allocations: 73.03 kB / 1.035 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/1.073, allocations: 19.62 kB / 1.035 GB, free: 6.082 MB / 0.6511 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 () * 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.0001252/1.073, allocations: 145 kB / 1.035 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/1.073, allocations: 31.7 kB / 1.035 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.428e-05/1.073, allocations: 31.28 kB / 1.035 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/1.073, allocations: 4 kB / 1.035 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.073, allocations: 0 / 1.035 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.073, allocations: 11.98 kB / 1.035 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/1.074, allocations: 363.4 kB / 1.036 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.074, allocations: 0 / 1.036 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/1.074, allocations: 71.89 kB / 1.036 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/1.074, allocations: 4 kB / 1.036 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/1.074, allocations: 15.3 kB / 1.036 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.074, allocations: 4 kB / 1.036 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.074, allocations: 0 / 1.036 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008205/1.075, allocations: 0.5667 MB / 1.036 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/1.075, allocations: 100.8 kB / 1.036 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/1.075, allocations: 14.86 kB / 1.036 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/1.075, allocations: 44.09 kB / 1.036 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/1.075, allocations: 38.66 kB / 1.036 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/1.075, allocations: 23.73 kB / 1.037 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.633e-05/1.076, allocations: 123.6 kB / 1.037 GB, free: 4.672 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/1.076, allocations: 0 / 1.037 GB, free: 4.672 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003162/1.076, allocations: 77.69 kB / 1.037 GB, free: 4.609 MB / 0.6511 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 () * 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.001193/1.077, allocations: 1.262 MB / 1.038 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005553/1.078, allocations: 356 kB / 1.038 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.078, allocations: 0 / 1.038 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/1.078, allocations: 159 kB / 1.038 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/1.078, allocations: 30.92 kB / 1.038 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/1.079, allocations: 0.6015 MB / 1.039 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/1.08, allocations: 0.7725 MB / 1.04 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000183/1.08, allocations: 47.08 kB / 1.04 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/1.08, allocations: 88.7 kB / 1.04 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/1.08, allocations: 0 / 1.04 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/1.098, allocations: 5.578 MB / 1.045 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/1.098, allocations: 197.8 kB / 1.046 GB, free: 12 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/3.132, allocations: 0 / 1.046 GB, free: 12 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)