Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001616/0.001616, allocations: 195.2 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.953/2.953, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 68.2 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3942, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002231/0.3965, allocations: 0.7322 MB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3976, allocations: 0.8079 MB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.3976, allocations: 0 / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.699e-05/0.3977, allocations: 3.984 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.027e-05/0.3978, allocations: 0 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.398, allocations: 11.94 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.177e-05/0.3981, allocations: 27.98 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3982, allocations: 8 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.787e-05/0.3983, allocations: 15.86 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.3984, allocations: 11.98 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.3984, allocations: 7.938 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.3984, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.3985, allocations: 7.922 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.3985, allocations: 11.94 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.846e-05/0.3986, allocations: 15.97 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3986, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3986, allocations: 4 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3987, allocations: 0 / 1.069 GB, free: 9.094 MB / 0.8262 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.0005785/0.3992, allocations: 339.7 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.3993, allocations: 8.031 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.3993, allocations: 0.9375 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.3995, allocations: 164.4 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3996, allocations: 384 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.3996, allocations: 8.359 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3998, allocations: 46.25 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3998, allocations: 192 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.3998, allocations: 11.88 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3999, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.4001, allocations: 39.89 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.4006, allocations: 240.9 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.4007, allocations: 46.53 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.4008, allocations: 16.91 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.4009, allocations: 4 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.4009, allocations: 30.56 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 3.095e-06/0.4009, allocations: 0 / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003997/0.4013, allocations: 93.48 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.4014, allocations: 51.41 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.4015, allocations: 101.8 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.4015, allocations: 25.7 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.4016, allocations: 80.14 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.4016, allocations: 11.89 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.4016, allocations: 17.84 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002471/0.4019, allocations: 310.8 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.402, allocations: 23.97 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.4021, allocations: 11.98 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4022, allocations: 40.77 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4023, allocations: 4.062 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001932/0.4024, allocations: 69.59 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4025, allocations: 5.406 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4025, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4025, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.4026, allocations: 15.98 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4026, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.4027, allocations: 12.02 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.4027, allocations: 4.125 kB / 1.071 GB, free: 7.07 MB / 0.8262 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 9.693e-05/0.4028, allocations: 110.4 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.4028, allocations: 4 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.4031, allocations: 80.7 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4031, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4031, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4031, allocations: 4.031 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.4033, allocations: 161.6 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.4033, allocations: 7.938 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.4034, allocations: 4 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4034, allocations: 0 / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4034, allocations: 3.984 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4034, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4034, allocations: 4 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.4037, allocations: 171.3 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.4037, allocations: 81.11 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.4038, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.4038, allocations: 4 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.4039, allocations: 3.984 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.4039, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.4039, allocations: 79.28 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.404, allocations: 4.031 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002193/0.4042, allocations: 11.94 kB / 1.072 GB, free: 6.25 MB / 0.8262 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.0001699/0.4044, allocations: 95.25 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.4046, allocations: 43.95 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4046, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.144e-05/0.4047, allocations: 23.98 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.405, allocations: 11.88 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.4053, allocations: 110 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.4057, allocations: 0.6768 MB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.4057, allocations: 0 / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.4057, allocations: 11.44 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.4057, allocations: 4.062 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of Templates: time 0.00228/0.408, allocations: 371.6 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1)