Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001236/0.001236, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 197.4 kB / 16.53 MB, free: 6.66 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.31 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3537, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002013/0.3558, allocations: 0.6536 MB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000953/0.3567, allocations: 0.8178 MB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.3568, allocations: 0 / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.3569, allocations: 7.922 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.959e-05/0.3569, allocations: 4 kB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.3571, allocations: 15.94 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.3572, allocations: 23.92 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3573, allocations: 4 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.634e-05/0.3574, allocations: 15.92 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.018e-05/0.3574, allocations: 3.938 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3574, allocations: 7.984 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.3574, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.3575, allocations: 11.98 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.3575, allocations: 11.94 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.983e-05/0.3576, allocations: 15.97 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3576, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3576, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.3576, allocations: 4 kB / 1.07 GB, free: 8.816 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.000445/0.3581, allocations: 339.7 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3581, allocations: 8.031 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.3581, allocations: 0.9375 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3583, allocations: 172.3 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3583, allocations: 4.375 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3583, allocations: 384 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3585, allocations: 50.23 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3585, allocations: 192 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3586, allocations: 3.938 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3586, allocations: 4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.3588, allocations: 31.91 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.3591, allocations: 249 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.3592, allocations: 38.5 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-05/0.3593, allocations: 24.91 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.3594, allocations: 0 / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3594, allocations: 38.56 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 3.236e-06/0.3594, allocations: 0 / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003546/0.3597, allocations: 89.48 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.3598, allocations: 51.41 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.027e-05/0.3599, allocations: 97.84 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3599, allocations: 25.7 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.3599, allocations: 92.27 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.36, allocations: 3.906 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.36, allocations: 13.72 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.3601, allocations: 318.8 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.3602, allocations: 15.92 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.3603, allocations: 15.98 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.3604, allocations: 48.81 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3605, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001994/0.3607, allocations: 65.61 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3607, allocations: 5.562 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3607, allocations: 3.984 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3607, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.3608, allocations: 16.02 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3608, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.3609, allocations: 7.984 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.3609, allocations: 0 / 1.072 GB, free: 6.793 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 6.909e-05/0.361, allocations: 118.4 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.361, allocations: 0 / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.3612, allocations: 76.66 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3612, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3613, allocations: 4 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3613, allocations: 192 / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.3614, allocations: 165.6 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3614, allocations: 0 / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.3615, allocations: 11.97 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3615, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3615, allocations: 4 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3615, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3615, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.3618, allocations: 175.3 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.3618, allocations: 77.11 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.3618, allocations: 0 / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.3619, allocations: 7.984 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.362, allocations: 4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.362, allocations: 8.031 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.247e-05/0.362, allocations: 75.28 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.362, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002202/0.3622, allocations: 7.938 kB / 1.072 GB, free: 5.973 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.000138/0.3624, allocations: 103.8 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3626, allocations: 31.97 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3626, allocations: 4.062 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3627, allocations: 23.92 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.363, allocations: 11.92 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.3634, allocations: 106 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.3636, allocations: 0.6767 MB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.3636, allocations: 8.062 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.3636, allocations: 11.42 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3637, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of Templates: time 0.002358/0.366, allocations: 431.3 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1)