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.0008478/0.0008477, allocations: 91.84 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.005507/0.005507, allocations: 176.1 kB / 16.27 MB, free: 6.613 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.506/1.506, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.079/3.079, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004902, allocations: 13.88 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3679, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00107/0.369, allocations: 396.6 kB / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3702, allocations: 0.81 MB / 1.075 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.3703, allocations: 0 / 1.075 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.3703, allocations: 4 kB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-05/0.3704, allocations: 3.938 kB / 1.075 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.3705, allocations: 11.98 kB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.3706, allocations: 19.98 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3707, allocations: 4 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.824e-05/0.3708, allocations: 19.86 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.299e-05/0.3709, allocations: 3.984 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3709, allocations: 4 kB / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-06/0.3709, allocations: 3.938 kB / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.3709, allocations: 8 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.371, allocations: 33.64 kB / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.124e-05/0.3711, allocations: 19.95 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3711, allocations: 0 / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3711, allocations: 3.938 kB / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3711, allocations: 0 / 1.075 GB, free: 6.164 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.0004967/0.3716, allocations: 335.8 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3717, allocations: 12.03 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.3717, allocations: 8.844 kB / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.3718, allocations: 160.4 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3719, allocations: 4.375 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.3719, allocations: 4.375 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.3721, allocations: 58.22 kB / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3721, allocations: 192 / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.3721, allocations: 3.938 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.3721, allocations: 11.88 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.3723, allocations: 43.95 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.3728, allocations: 245 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.3729, allocations: 50.48 kB / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.498e-05/0.373, allocations: 24.91 kB / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.3731, allocations: 0 / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.3731, allocations: 38.5 kB / 1.076 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.3731, allocations: 0 / 1.076 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004025/0.3735, allocations: 101.7 kB / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3736, allocations: 51.41 kB / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.3737, allocations: 97.86 kB / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3737, allocations: 25.7 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.3738, allocations: 92.03 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.3738, allocations: 4 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.3738, allocations: 9.719 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3739, allocations: 310.8 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.3741, allocations: 28.02 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.3741, allocations: 19.97 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3743, allocations: 56.83 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3743, allocations: 0 / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002178/0.3745, allocations: 85.5 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3746, allocations: 5.094 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3746, allocations: 0 / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3746, allocations: 0 / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.541e-05/0.3747, allocations: 11.98 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3747, allocations: 0 / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/0.3748, allocations: 12 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.3748, allocations: 0 / 1.077 GB, free: 4.066 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 8.988e-05/0.3749, allocations: 117.8 kB / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.3749, allocations: 3.984 kB / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.3752, allocations: 84.72 kB / 1.077 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3752, allocations: 3.938 kB / 1.077 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3752, allocations: 4.031 kB / 1.077 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3752, allocations: 0 / 1.077 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.3754, allocations: 157.6 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3754, allocations: 0 / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.3755, allocations: 15.92 kB / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3755, allocations: 4 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3755, allocations: 4 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3755, allocations: 0 / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3755, allocations: 0 / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.3758, allocations: 175.4 kB / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.3758, allocations: 85.02 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.3759, allocations: 7.984 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.3759, allocations: 8.031 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.376, allocations: 4 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.376, allocations: 3.984 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.716e-05/0.376, allocations: 79.47 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.376, allocations: 0 / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002106/0.3763, allocations: 3.938 kB / 1.078 GB, free: 3.219 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.0001688/0.3764, allocations: 103.2 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.3767, allocations: 51.95 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3767, allocations: 0 / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/0.3768, allocations: 27.98 kB / 1.078 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.3771, allocations: 3.938 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.3774, allocations: 118.9 kB / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3776, allocations: 0.6731 MB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.3777, allocations: 144 / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.3777, allocations: 7.5 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3777, allocations: 4 kB / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of Templates: time 0.002588/0.3803, allocations: 367.2 kB / 1.079 GB, free: 1.82 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)