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.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 194.4 kB / 16.53 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.716/1.716, allocations: 251.7 MB / 0.5092 GB, free: 3.195 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001776, allocations: 67.91 kB / 0.6223 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7067/0.7085, allocations: 104.7 MB / 0.7245 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.004554/0.7131, allocations: 1.414 MB / 0.7259 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004785/0.7136, allocations: 131.4 kB / 0.726 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.7137, allocations: 0 / 0.726 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.686e-05/0.7138, allocations: 3.938 kB / 0.726 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.21e-05/0.7139, allocations: 7.938 kB / 0.726 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.217e-05/0.714, allocations: 11.97 kB / 0.7261 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.7141, allocations: 47.8 kB / 0.7261 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.7143, allocations: 8 kB / 0.7261 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.7144, allocations: 19.98 kB / 0.7261 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.7144, allocations: 19.91 kB / 0.7262 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.7145, allocations: 7.938 kB / 0.7262 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.7145, allocations: 4 kB / 0.7262 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.7145, allocations: 4 kB / 0.7262 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.7145, allocations: 19.92 kB / 0.7262 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.7147, allocations: 43.8 kB / 0.7262 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7147, allocations: 0 / 0.7262 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7147, allocations: 0 / 0.7262 GB, free: 11.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.7147, allocations: 0 / 0.7262 GB, free: 11.23 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006668/0.7154, allocations: 368.7 kB / 0.7266 GB, free: 10.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.7154, allocations: 16.02 kB / 0.7266 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.7155, allocations: 0.9375 kB / 0.7266 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.7157, allocations: 172.3 kB / 0.7268 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.7157, allocations: 384 / 0.7268 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.7157, allocations: 8.359 kB / 0.7268 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.716, allocations: 74.16 kB / 0.7268 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.7161, allocations: 192 / 0.7268 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.7161, allocations: 7.938 kB / 0.7268 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7161, allocations: 0 / 0.7268 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.7164, allocations: 63.92 kB / 0.7269 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.717, allocations: 269 kB / 0.7272 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.7172, allocations: 58.41 kB / 0.7272 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.7174, allocations: 36.92 kB / 0.7273 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.7174, allocations: 0 / 0.7273 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.7174, allocations: 42.56 kB / 0.7273 GB, free: 9.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.7174, allocations: 0 / 0.7273 GB, free: 9.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005973/0.718, allocations: 129.5 kB / 0.7274 GB, free: 9.848 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.7181, allocations: 55.41 kB / 0.7275 GB, free: 9.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.7182, allocations: 113.7 kB / 0.7276 GB, free: 9.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.7183, allocations: 29.7 kB / 0.7276 GB, free: 9.625 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.7184, allocations: 92.08 kB / 0.7277 GB, free: 9.531 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.7184, allocations: 3.906 kB / 0.7277 GB, free: 9.527 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.7184, allocations: 21.7 kB / 0.7277 GB, free: 9.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.7186, allocations: 310.8 kB / 0.728 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.7188, allocations: 27.97 kB / 0.728 GB, free: 9.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.719, allocations: 39.95 kB / 0.7281 GB, free: 9.121 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.7192, allocations: 64.78 kB / 0.7281 GB, free: 9.055 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7193, allocations: 3.938 kB / 0.7281 GB, free: 9.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004861/0.7198, allocations: 101.5 kB / 0.7282 GB, free: 8.945 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.7198, allocations: 10.03 kB / 0.7283 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.7198, allocations: 0 / 0.7283 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.7198, allocations: 7.875 kB / 0.7283 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.72, allocations: 11.98 kB / 0.7283 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.72, allocations: 4 kB / 0.7283 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.7201, allocations: 11.97 kB / 0.7283 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.7201, allocations: 0 / 0.7283 GB, free: 8.902 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001359/0.7203, allocations: 121.8 kB / 0.7284 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.7203, allocations: 0 / 0.7284 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.7204, allocations: 11.91 kB / 0.7284 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.7204, allocations: 0 / 0.7284 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7204, allocations: 0 / 0.7284 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.7204, allocations: 0 / 0.7284 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.7206, allocations: 181.5 kB / 0.7286 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7206, allocations: 336 / 0.7286 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.7207, allocations: 15.98 kB / 0.7286 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.7207, allocations: 4 kB / 0.7286 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.7208, allocations: 0 / 0.7286 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.7208, allocations: 0 / 0.7286 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7208, allocations: 0 / 0.7286 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.7212, allocations: 199.3 kB / 0.7288 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.7212, allocations: 85.11 kB / 0.7289 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.7213, allocations: 4 kB / 0.7289 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.7214, allocations: 15.98 kB / 0.7289 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.7215, allocations: 0 / 0.7289 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.7215, allocations: 3.984 kB / 0.7289 GB, free: 8.172 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.826e-05/0.7215, allocations: 87.59 kB / 0.729 GB, free: 8.086 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7215, allocations: 0 / 0.729 GB, free: 8.086 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002336/0.7218, allocations: 11.91 kB / 0.729 GB, free: 8.074 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0002494/0.722, allocations: 99.25 kB / 0.7291 GB, free: 7.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.7225, allocations: 67.92 kB / 0.7292 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7225, allocations: 7.875 kB / 0.7292 GB, free: 7.895 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.7227, allocations: 39.95 kB / 0.7292 GB, free: 7.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.7231, allocations: 11.94 kB / 0.7292 GB, free: 7.844 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.7237, allocations: 137.3 kB / 0.7293 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.7241, allocations: 0.6807 MB / 0.73 GB, free: 6.977 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.754e-05/0.7241, allocations: 4 kB / 0.73 GB, free: 6.973 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.7242, allocations: 11.38 kB / 0.73 GB, free: 6.961 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/0.7242, allocations: 0 / 0.73 GB, free: 6.961 MB / 0.545 GB Notification: Performance of Templates: time 0.003764/0.728, allocations: 0.6807 MB / 0.7307 GB, free: 6.285 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)