Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.047/5.047, allocations: 0.5623 GB / 0.5769 GB, free: 3.379 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.002423/0.002422, allocations: 355.2 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.25/4.25, allocations: 410.7 MB / 1.112 GB, free: 5.949 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.001987/0.001987, allocations: 179.4 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004962, allocations: 16 kB / 1.348 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5953/0.5958, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.0007173/0.5966, allocations: 397.2 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.5974, allocations: 0.7971 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.5975, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.141e-05/0.5975, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.589e-05/0.5976, allocations: 8.656 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.5977, allocations: 4 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.972e-05/0.5978, allocations: 20.61 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.727e-05/0.5978, allocations: 4.5 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.642e-05/0.5979, allocations: 8.734 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.619e-05/0.598, allocations: 11.94 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.598, allocations: 4.531 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-06/0.598, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.598, allocations: 13.59 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.598, allocations: 25.7 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 4.921e-05/0.5981, allocations: 15.97 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5981, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5981, allocations: 1.094 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.5981, allocations: 0 / 1.462 GB, free: 283.1 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.0003462/0.5985, allocations: 335.1 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.5985, allocations: 11.62 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.5986, allocations: 10.08 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.809e-05/0.5987, allocations: 163 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5987, allocations: 6.281 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.5987, allocations: 4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.5989, allocations: 61.55 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.421e-06/0.5989, allocations: 2.094 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.154e-06/0.599, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.599, allocations: 2.391 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.5992, allocations: 45.27 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.5995, allocations: 250.1 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.5996, allocations: 44.97 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.5997, allocations: 30.3 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.5998, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.5998, allocations: 35.88 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.901e-06/0.5998, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0004044/0.6002, allocations: 97.55 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.6003, allocations: 51.41 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.541e-05/0.6003, allocations: 98.92 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.813e-06/0.6004, allocations: 25.7 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.6004, allocations: 88.56 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.6004, allocations: 13.47 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-06/0.6004, allocations: 3.938 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.6005, allocations: 314.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.601e-05/0.6006, allocations: 21.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.779e-05/0.6007, allocations: 22.52 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.686e-05/0.6008, allocations: 27.97 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.237e-06/0.6008, allocations: 6.125 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002241/0.6011, allocations: 75.39 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6011, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.78e-06/0.6011, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6011, allocations: 3.984 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.6012, allocations: 9.938 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.466e-06/0.6013, allocations: 4 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.133e-05/0.6013, allocations: 8.984 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-06/0.6013, allocations: 0 / 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.733e-05/0.6014, allocations: 122.1 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.6015, allocations: 1.844 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.6017, allocations: 82.41 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-06/0.6017, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.884e-06/0.6018, allocations: 4.672 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.592e-06/0.6018, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.6019, allocations: 162 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6019, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.874e-05/0.602, allocations: 17.02 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.197e-06/0.602, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-06/0.6021, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.219e-06/0.6021, allocations: 4.75 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6021, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.6024, allocations: 179 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.6024, allocations: 85.8 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.6024, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.6026, allocations: 8.828 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.6026, allocations: 4.5 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-06/0.6026, allocations: 1.25 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.953e-05/0.6027, allocations: 83.28 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.77e-07/0.6027, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002952/0.603, allocations: 8.484 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 0.0001008/0.6031, allocations: 96.5 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.6033, allocations: 48.38 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.18e-06/0.6034, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.6035, allocations: 31.91 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.0003582/0.6038, allocations: 5.109 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.6041, allocations: 105.8 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.6043, allocations: 0.6809 MB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.6043, allocations: 7.031 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.6043, allocations: 7.438 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.563e-06/0.6043, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.002563/0.6069, allocations: 360.9 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB