Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.215/5.215, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002589/0.002588, allocations: 359.3 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.358/4.358, allocations: 410.7 MB / 1.112 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001795/0.001795, allocations: 190.8 kB / 1.225 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004979, allocations: 12 kB / 1.348 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.5897, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0007438/0.5905, allocations: 421.1 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008289/0.5913, allocations: 0.8004 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.5914, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.5914, allocations: 4.703 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.5915, allocations: 4.969 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.893e-05/0.5915, allocations: 8 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.5916, allocations: 39.84 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.5917, allocations: 5.469 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.939e-05/0.5918, allocations: 19.92 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.13e-05/0.5918, allocations: 20.44 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.5919, allocations: 0.75 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.74e-06/0.5919, allocations: 7.938 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.5919, allocations: 8.484 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.5919, allocations: 31.83 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.689e-05/0.592, allocations: 23.94 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.592, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.865e-06/0.592, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.811e-06/0.5921, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 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.0004352/0.5925, allocations: 372.2 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.5925, allocations: 11.62 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.449e-05/0.5926, allocations: 7.906 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.858e-05/0.5927, allocations: 171.9 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.5927, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.5927, allocations: 0.75 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.593, allocations: 81.06 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.617e-06/0.593, allocations: 1.406 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.5931, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-06/0.5931, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.5934, allocations: 88.61 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.5938, allocations: 273.9 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.594, allocations: 65.22 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.5942, allocations: 50.89 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.5942, allocations: 1.625 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.5943, allocations: 30.56 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.59e-06/0.5943, allocations: 0.6875 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0006101/0.5949, allocations: 169.1 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.5949, allocations: 56.06 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.595, allocations: 111.5 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.595, allocations: 29.64 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.5951, allocations: 92.12 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.5951, allocations: 8.875 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-06/0.5951, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.5952, allocations: 319.4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.5954, allocations: 41.84 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.5955, allocations: 47.11 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.5957, allocations: 42.03 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.031e-06/0.5957, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003724/0.5961, allocations: 126.2 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5961, allocations: 8 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.357e-06/0.5962, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5962, allocations: 1.781 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.5963, allocations: 27.97 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.752e-06/0.5964, allocations: 0.5 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.344e-05/0.5965, allocations: 17.27 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-06/0.5965, allocations: 5.609 kB / 1.464 GB, free: 280.6 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.594e-05/0.5966, allocations: 113.8 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.5966, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.5966, allocations: 10.3 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.47e-06/0.5966, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.396e-06/0.5967, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5967, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.5968, allocations: 169.6 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-06/0.5969, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.597, allocations: 17.89 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.49e-06/0.597, allocations: 4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.482e-06/0.597, allocations: 1.312 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.597, allocations: 5.047 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.102e-06/0.597, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.5975, allocations: 224.6 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.5975, allocations: 77.11 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.5975, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.5977, allocations: 17.45 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.5977, allocations: 13.83 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-06/0.5978, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.606e-05/0.5978, allocations: 91.27 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.53e-07/0.5978, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003121/0.5981, allocations: 4 kB / 1.465 GB, free: 279.8 MB / 0.8542 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 (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.0001012/0.5982, allocations: 104.3 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000383/0.5986, allocations: 97.3 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.852e-06/0.5987, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.5989, allocations: 47.91 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.5993, allocations: 17.12 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.5996, allocations: 130.8 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.5997, allocations: 0.6856 MB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.5998, allocations: 4.938 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.5998, allocations: 7.438 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.412e-06/0.5998, allocations: 1.656 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.002776/0.6026, allocations: 0.5255 MB / 1.467 GB, free: 278.1 MB / 0.8542 GB