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.Tan.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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007918/0.0007916, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.005578/0.005579, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.647/1.647, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.634/1.634, allocations: 252 MB / 0.5105 GB, free: 4.664 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.0005831/0.0005836, allocations: 20.47 kB / 0.6249 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.5476, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001578/0.5492, allocations: 1.098 MB / 0.7298 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003187/0.5496, allocations: 124.5 kB / 0.7299 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.5496, allocations: 4 kB / 0.7299 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.5497, allocations: 0 / 0.7299 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.622e-05/0.5498, allocations: 11.92 kB / 0.7299 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.5499, allocations: 4 kB / 0.73 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.455e-05/0.55, allocations: 27.91 kB / 0.73 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.5501, allocations: 4 kB / 0.73 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.5501, allocations: 7.938 kB / 0.73 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.704e-05/0.5502, allocations: 15.92 kB / 0.73 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.5502, allocations: 0 / 0.73 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.116e-06/0.5502, allocations: 0 / 0.73 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.5503, allocations: 7.938 kB / 0.73 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.5503, allocations: 37.69 kB / 0.73 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.035e-05/0.5504, allocations: 19.89 kB / 0.7301 GB, free: 9.863 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.5504, allocations: 0 / 0.7301 GB, free: 9.863 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5504, allocations: 0 / 0.7301 GB, free: 9.863 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.5504, allocations: 0 / 0.7301 GB, free: 9.863 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004473/0.5509, allocations: 341.5 kB / 0.7304 GB, free: 9.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.5509, allocations: 12.03 kB / 0.7304 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.551, allocations: 4.938 kB / 0.7304 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.5511, allocations: 168.3 kB / 0.7306 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.5511, allocations: 384 / 0.7306 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.5511, allocations: 384 / 0.7306 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.5513, allocations: 58.23 kB / 0.7306 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5514, allocations: 192 / 0.7306 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.5514, allocations: 3.938 kB / 0.7306 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5514, allocations: 4 kB / 0.7306 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.5516, allocations: 47.89 kB / 0.7307 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.552, allocations: 244.9 kB / 0.7309 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.5521, allocations: 50.48 kB / 0.731 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/0.5522, allocations: 32.84 kB / 0.731 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.5523, allocations: 0 / 0.731 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.5523, allocations: 38.55 kB / 0.731 GB, free: 8.715 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.444e-06/0.5523, allocations: 0 / 0.731 GB, free: 8.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003994/0.5527, allocations: 105.7 kB / 0.7311 GB, free: 8.605 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.5528, allocations: 51.41 kB / 0.7312 GB, free: 8.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.5529, allocations: 97.84 kB / 0.7313 GB, free: 8.438 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.5529, allocations: 25.7 kB / 0.7313 GB, free: 8.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.553, allocations: 88.14 kB / 0.7314 GB, free: 8.316 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.553, allocations: 3.906 kB / 0.7314 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.553, allocations: 9.719 kB / 0.7314 GB, free: 8.297 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5532, allocations: 314.8 kB / 0.7317 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.5532, allocations: 24.02 kB / 0.7317 GB, free: 7.957 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.717e-05/0.5533, allocations: 19.97 kB / 0.7317 GB, free: 7.938 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.5535, allocations: 56.83 kB / 0.7318 GB, free: 7.879 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5535, allocations: 4 kB / 0.7318 GB, free: 7.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002181/0.5537, allocations: 81.59 kB / 0.7319 GB, free: 7.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.5538, allocations: 9.656 kB / 0.7319 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.5538, allocations: 0 / 0.7319 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5538, allocations: 0 / 0.7319 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.5539, allocations: 11.98 kB / 0.7319 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5539, allocations: 0 / 0.7319 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.554, allocations: 8 kB / 0.7319 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.554, allocations: 0 / 0.7319 GB, free: 7.762 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 (2): * Single equations (assignments): 2 * 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.892e-05/0.5541, allocations: 121.8 kB / 0.732 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.5541, allocations: 3.906 kB / 0.732 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.5544, allocations: 84.72 kB / 0.7321 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5544, allocations: 32 / 0.7321 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5545, allocations: 4 kB / 0.7321 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5545, allocations: 0 / 0.7321 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.5546, allocations: 157.6 kB / 0.7323 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.5547, allocations: 0 / 0.7323 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.5547, allocations: 11.98 kB / 0.7323 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5547, allocations: 4 kB / 0.7323 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.5547, allocations: 0 / 0.7323 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.5548, allocations: 0 / 0.7323 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5548, allocations: 3.938 kB / 0.7323 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.555, allocations: 179.4 kB / 0.7324 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.5551, allocations: 77.11 kB / 0.7325 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.5551, allocations: 7.984 kB / 0.7325 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.5552, allocations: 8.031 kB / 0.7325 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.5553, allocations: 3.984 kB / 0.7325 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.5553, allocations: 8 kB / 0.7325 GB, free: 7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.5553, allocations: 79.28 kB / 0.7326 GB, free: 6.922 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5553, allocations: 4 kB / 0.7326 GB, free: 6.918 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002108/0.5555, allocations: 0 / 0.7326 GB, free: 6.918 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 (2): * Single equations (assignments): 2 * 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.0002138/0.5558, allocations: 106.1 kB / 0.7327 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.556, allocations: 47.95 kB / 0.7328 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.556, allocations: 0 / 0.7328 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.5561, allocations: 31.98 kB / 0.7328 GB, free: 6.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.5564, allocations: 3.938 kB / 0.7328 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.5567, allocations: 112.6 kB / 0.7329 GB, free: 6.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.5569, allocations: 0.677 MB / 0.7336 GB, free: 5.887 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.066e-05/0.557, allocations: 0 / 0.7336 GB, free: 5.887 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.557, allocations: 11.44 kB / 0.7336 GB, free: 5.875 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.557, allocations: 4.062 kB / 0.7336 GB, free: 5.871 MB / 0.545 GB Notification: Performance of Templates: time 0.00249/0.5595, allocations: 352.6 kB / 0.7339 GB, free: 5.527 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) Environment - environmentSimulation: