Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.476/2.476, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 188.7 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.3 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 97.08 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.108e-05/4.122e-05, allocations: 8 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8578/0.8578, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.244/1.102, allocations: 137.7 MB / 1.098 GB, free: 2.762 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/1.102, allocations: 74.25 kB / 1.098 GB, free: 2.691 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0571/1.159, allocations: 8.572 MB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.585e-06/1.159, allocations: 4 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.869e-05/1.159, allocations: 4 kB / 1.106 GB, free: 10.18 MB / 0.7136 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.002549/1.162, allocations: 0.6022 MB / 1.107 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/1.162, allocations: 11.41 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/1.162, allocations: 31.72 kB / 1.107 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/1.163, allocations: 187.6 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003999/1.163, allocations: 255.7 kB / 1.107 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/1.163, allocations: 20 kB / 1.107 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007643/1.164, allocations: 136.8 kB / 1.108 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/1.165, allocations: 217.5 kB / 1.108 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/1.165, allocations: 11.91 kB / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/1.165, allocations: 0 / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/1.165, allocations: 4 kB / 1.108 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/1.168, allocations: 0.7473 MB / 1.108 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008374/1.169, allocations: 176.2 kB / 1.109 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/1.169, allocations: 107 kB / 1.109 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.811e-05/1.169, allocations: 8.547 kB / 1.109 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009381/1.17, allocations: 281 kB / 1.109 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 5.651e-06/1.17, allocations: 0 / 1.109 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.001381/1.172, allocations: 307 kB / 1.109 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/1.172, allocations: 114.8 kB / 1.109 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/1.172, allocations: 158.5 kB / 1.11 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/1.172, allocations: 25.7 kB / 1.11 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/1.172, allocations: 117.3 kB / 1.11 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/1.173, allocations: 146 kB / 1.11 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/1.173, allocations: 0 / 1.11 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002409/1.173, allocations: 338.8 kB / 1.11 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005812/1.174, allocations: 117.5 kB / 1.11 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007202/1.174, allocations: 220.5 kB / 1.111 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/1.175, allocations: 143.8 kB / 1.111 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.175, allocations: 0 / 1.111 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001781/1.177, allocations: 403.2 kB / 1.111 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/1.177, allocations: 11.98 kB / 1.111 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.177, allocations: 4 kB / 1.111 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.323e-05/1.177, allocations: 8 kB / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009584/1.178, allocations: 95.83 kB / 1.111 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/1.178, allocations: 4 kB / 1.111 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/1.178, allocations: 60.97 kB / 1.111 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/1.179, allocations: 20 kB / 1.111 GB, free: 4.82 MB / 0.7136 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.0002228/1.179, allocations: 134.8 kB / 1.111 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008914/1.18, allocations: 310.1 kB / 1.112 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/1.18, allocations: 23.72 kB / 1.112 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/1.18, allocations: 29.95 kB / 1.112 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/1.18, allocations: 4 kB / 1.112 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.18, allocations: 8 kB / 1.112 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.18, allocations: 0 / 1.112 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/1.18, allocations: 317.7 kB / 1.112 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.181, allocations: 0 / 1.112 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008577/1.181, allocations: 71.91 kB / 1.112 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/1.181, allocations: 7.938 kB / 1.112 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/1.181, allocations: 11.98 kB / 1.112 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/1.181, allocations: 7.312 kB / 1.112 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.181, allocations: 4 kB / 1.112 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/1.183, allocations: 0.5193 MB / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.183, allocations: 100.8 kB / 1.113 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.07e-05/1.183, allocations: 7.438 kB / 1.113 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/1.184, allocations: 43.95 kB / 1.113 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/1.184, allocations: 35.95 kB / 1.113 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/1.184, allocations: 16.08 kB / 1.113 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001521/1.184, allocations: 124 kB / 1.113 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.184, allocations: 0 / 1.113 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005084/1.184, allocations: 67.91 kB / 1.113 GB, free: 2.914 MB / 0.7136 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.001842/1.186, allocations: 1.213 MB / 1.114 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009616/1.187, allocations: 322.8 kB / 1.114 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.187, allocations: 0 / 1.114 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004601/1.188, allocations: 155.8 kB / 1.115 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/1.188, allocations: 28.12 kB / 1.115 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/1.19, allocations: 0.5412 MB / 1.115 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/1.191, allocations: 0.7724 MB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003214/1.191, allocations: 43.27 kB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/1.191, allocations: 88.06 kB / 1.116 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of SimCode: time 1.312e-06/1.191, allocations: 0 / 1.116 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04404/1.235, allocations: 5.071 MB / 1.121 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003261/1.236, allocations: 150.3 kB / 1.121 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.965, allocations: 0 / 1.121 GB, free: 10.5 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)