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.001282/0.001282, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.653/1.653, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.575/1.575, allocations: 251.7 MB / 0.5089 GB, free: 3.316 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.00161/0.00161, allocations: 63.91 kB / 0.6218 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8027/0.8043, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002744/0.8071, allocations: 1.468 MB / 0.7254 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003098/0.8074, allocations: 120.5 kB / 0.7256 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.8075, allocations: 4 kB / 0.7256 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.8075, allocations: 3.938 kB / 0.7256 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.562e-05/0.8076, allocations: 7.922 kB / 0.7256 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.681e-05/0.8077, allocations: 15.98 kB / 0.7256 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.939e-05/0.8078, allocations: 43.86 kB / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.8079, allocations: 11.98 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.808, allocations: 15.98 kB / 0.7257 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.8081, allocations: 23.86 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.8081, allocations: 8 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.8081, allocations: 4 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.8081, allocations: 7.984 kB / 0.7257 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.8082, allocations: 11.94 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.015e-05/0.8083, allocations: 47.8 kB / 0.7258 GB, free: 11.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.8083, allocations: 0 / 0.7258 GB, free: 11.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8083, allocations: 3.938 kB / 0.7258 GB, free: 11.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.8083, allocations: 0 / 0.7258 GB, free: 11.29 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.0007292/0.809, allocations: 369.2 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.8091, allocations: 12.03 kB / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.8091, allocations: 0.9375 kB / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.8093, allocations: 168.3 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.8093, allocations: 384 / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.8093, allocations: 4.375 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.8095, allocations: 70.2 kB / 0.7264 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.8096, allocations: 192 / 0.7264 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.8096, allocations: 7.938 kB / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.8096, allocations: 3.984 kB / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.8099, allocations: 67.86 kB / 0.7264 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.8103, allocations: 265 kB / 0.7267 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.8104, allocations: 62.47 kB / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.8106, allocations: 36.92 kB / 0.7268 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.8106, allocations: 3.984 kB / 0.7268 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.8107, allocations: 30.56 kB / 0.7268 GB, free: 10.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.8107, allocations: 0 / 0.7268 GB, free: 10.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005115/0.8112, allocations: 133.4 kB / 0.7269 GB, free: 9.906 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.8112, allocations: 55.41 kB / 0.727 GB, free: 9.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.391e-05/0.8113, allocations: 113.8 kB / 0.7271 GB, free: 9.719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.8113, allocations: 25.7 kB / 0.7271 GB, free: 9.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.8114, allocations: 96.06 kB / 0.7272 GB, free: 9.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.8114, allocations: 7.906 kB / 0.7272 GB, free: 9.582 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.8115, allocations: 13.72 kB / 0.7272 GB, free: 9.562 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002459/0.8117, allocations: 314.8 kB / 0.7275 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.8119, allocations: 31.95 kB / 0.7276 GB, free: 9.215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.812, allocations: 31.97 kB / 0.7276 GB, free: 9.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.8122, allocations: 76.66 kB / 0.7277 GB, free: 9.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.8122, allocations: 3.938 kB / 0.7277 GB, free: 9.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002908/0.8125, allocations: 101.5 kB / 0.7278 GB, free: 8.996 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.8126, allocations: 8 kB / 0.7278 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.8126, allocations: 4 kB / 0.7278 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.8126, allocations: 0 / 0.7278 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.8127, allocations: 15.97 kB / 0.7278 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.8127, allocations: 0 / 0.7278 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.402e-05/0.8128, allocations: 11.98 kB / 0.7278 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.8128, allocations: 0 / 0.7278 GB, free: 8.957 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 8.679e-05/0.8129, allocations: 121.8 kB / 0.7279 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.8129, allocations: 0 / 0.7279 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.813, allocations: 7.906 kB / 0.7279 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.813, allocations: 0 / 0.7279 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.813, allocations: 3.984 kB / 0.7279 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.813, allocations: 0 / 0.7279 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.8132, allocations: 177.5 kB / 0.7281 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8132, allocations: 3.938 kB / 0.7281 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.8133, allocations: 15.98 kB / 0.7281 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8133, allocations: 0 / 0.7281 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.8133, allocations: 4 kB / 0.7281 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8133, allocations: 0 / 0.7281 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8133, allocations: 0 / 0.7281 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.8137, allocations: 195.7 kB / 0.7283 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.31e-05/0.8137, allocations: 85.14 kB / 0.7284 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.8138, allocations: 4 kB / 0.7284 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.8139, allocations: 7.984 kB / 0.7284 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.8139, allocations: 11.98 kB / 0.7284 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.8139, allocations: 4 kB / 0.7284 GB, free: 8.227 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.512e-05/0.814, allocations: 87.28 kB / 0.7285 GB, free: 8.141 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.31e-07/0.814, allocations: 0 / 0.7285 GB, free: 8.141 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000207/0.8142, allocations: 7.906 kB / 0.7285 GB, free: 8.133 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.0002092/0.8144, allocations: 111.2 kB / 0.7286 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003092/0.8147, allocations: 67.92 kB / 0.7287 GB, free: 7.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8147, allocations: 0 / 0.7287 GB, free: 7.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.8149, allocations: 31.97 kB / 0.7287 GB, free: 7.918 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.8152, allocations: 19.92 kB / 0.7287 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.8155, allocations: 145.2 kB / 0.7289 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.8158, allocations: 0.6806 MB / 0.7295 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.8159, allocations: 4 kB / 0.7295 GB, free: 7.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.8159, allocations: 11.44 kB / 0.7296 GB, free: 7.008 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.8159, allocations: 0 / 0.7296 GB, free: 7.008 MB / 0.545 GB Notification: Performance of Templates: time 0.002765/0.8187, allocations: 0.5746 MB / 0.7301 GB, free: 6.438 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)