Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.204/5.204, allocations: 0.5623 GB / 0.5769 GB, free: 3.367 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.00241/0.00241, allocations: 357.7 kB / 0.644 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.453/4.453, allocations: 410.7 MB / 1.112 GB, free: 5.945 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.001874/0.001873, allocations: 191.8 kB / 1.225 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.0004941, allocations: 20 kB / 1.348 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5857/0.5862, 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.Tan): time 0.0006916/0.587, allocations: 385.2 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008104/0.5878, allocations: 0.8043 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.5878, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.5879, allocations: 3.156 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.685e-05/0.5879, allocations: 3.938 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.588, allocations: 11.98 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.793e-05/0.5881, allocations: 15.94 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.864e-05/0.5882, allocations: 7.984 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.63e-05/0.5882, allocations: 4 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.5883, allocations: 19.86 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.5883, allocations: 1.406 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.788e-06/0.5883, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.597e-06/0.5884, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.5884, allocations: 29.7 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 4.494e-05/0.5884, allocations: 16.61 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.617e-06/0.5884, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5885, allocations: 4.594 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.603e-06/0.5885, allocations: 1.625 kB / 1.462 GB, free: 283 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003342/0.5888, allocations: 334.7 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.5889, allocations: 11.62 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.5889, allocations: 3.906 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.938e-05/0.589, allocations: 171 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.589, allocations: 0.5312 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.589, allocations: 1.156 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.5892, allocations: 58.89 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.632e-06/0.5892, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.483e-06/0.5893, allocations: 1.656 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-06/0.5893, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.5895, allocations: 46.47 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.5898, allocations: 248.9 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.5899, allocations: 49.5 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.59, allocations: 27.44 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.5901, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.5901, allocations: 34.06 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.812e-06/0.5901, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0003842/0.5905, allocations: 95.11 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.5905, allocations: 51.41 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.487e-05/0.5906, allocations: 111.5 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.741e-06/0.5906, allocations: 25.7 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.5907, allocations: 84.08 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.5907, allocations: 3.906 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-06/0.5907, allocations: 0.5 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.5908, allocations: 323.4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.475e-05/0.5909, allocations: 21.41 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.818e-05/0.591, allocations: 25.23 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.159e-05/0.5911, allocations: 23.67 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-06/0.5911, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002279/0.5913, allocations: 83.09 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.5913, allocations: 8 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.136e-06/0.5914, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.5914, allocations: 0.5938 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.919e-05/0.5915, allocations: 13.02 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5915, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.5916, allocations: 9.906 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-06/0.5916, allocations: 3.938 kB / 1.464 GB, free: 281 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 (2): * Single equations (assignments): 2 * 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 5.427e-05/0.5917, allocations: 115 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.5917, allocations: 4.906 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.592, allocations: 78.75 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.592, allocations: 6.562 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.353e-06/0.592, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.405e-06/0.592, allocations: 3.938 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.5922, allocations: 157.6 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-06/0.5922, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.731e-05/0.5923, allocations: 11.98 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.065e-06/0.5923, allocations: 2.172 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.592e-06/0.5923, allocations: 0.5 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.152e-06/0.5923, allocations: 4.625 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.5923, allocations: 4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.5926, allocations: 179.2 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.5926, allocations: 81.02 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.5926, allocations: 5.422 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.5928, allocations: 8 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.5928, allocations: 5.484 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-06/0.5928, allocations: 0 / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.622e-05/0.5929, allocations: 79.28 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.89e-07/0.5929, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002866/0.5932, allocations: 9.656 kB / 1.465 GB, free: 280.2 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 (2): * Single equations (assignments): 2 * 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 9.995e-05/0.5933, allocations: 99.25 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.5935, allocations: 50.45 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5935, allocations: 1.25 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.5936, allocations: 20.64 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.594, allocations: 17.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.5943, allocations: 109.7 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.5944, allocations: 0.6783 MB / 1.465 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.5944, allocations: 0 / 1.465 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.5945, allocations: 7.438 kB / 1.465 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.646e-06/0.5945, allocations: 4.5 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.002448/0.5969, allocations: 356.5 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB