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.001152/0.001152, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001317/0.001317, allocations: 198.2 kB / 16.14 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.95/2.95, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 75.08 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.378, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002729/0.3808, allocations: 0.7244 MB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.382, allocations: 0.804 MB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.3821, allocations: 3.938 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.871e-05/0.3821, allocations: 0 / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.855e-05/0.3822, allocations: 0 / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.3824, allocations: 19.98 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.47e-05/0.3825, allocations: 23.92 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3827, allocations: 8 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.879e-05/0.3828, allocations: 11.94 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.3828, allocations: 7.984 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3828, allocations: 0 / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.3829, allocations: 0 / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.3829, allocations: 11.92 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.3829, allocations: 7.938 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.677e-05/0.383, allocations: 23.95 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3831, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3831, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3831, allocations: 0 / 1.069 GB, free: 9.285 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.0006199/0.3837, allocations: 343.7 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.3838, allocations: 11.97 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.3838, allocations: 0.9375 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.384, allocations: 164.4 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.384, allocations: 384 / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.384, allocations: 4.375 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.3842, allocations: 50.23 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3842, allocations: 192 / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.3843, allocations: 3.938 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3843, allocations: 0 / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.3844, allocations: 39.89 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.3848, allocations: 252.9 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.385, allocations: 34.5 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.3851, allocations: 24.89 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3851, allocations: 4 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3851, allocations: 34.56 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.3852, allocations: 4 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003944/0.3856, allocations: 93.47 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.3856, allocations: 51.41 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/0.3857, allocations: 97.86 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3857, allocations: 25.7 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.3858, allocations: 84.12 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.3858, allocations: 12.03 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.3858, allocations: 13.72 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.3861, allocations: 314.8 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.293e-05/0.3862, allocations: 15.98 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.3862, allocations: 15.97 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3864, allocations: 40.89 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3864, allocations: 0 / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001883/0.3866, allocations: 73.53 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3866, allocations: 4 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3866, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3866, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3868, allocations: 11.98 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3868, allocations: 4.016 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.3868, allocations: 12 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.3868, allocations: 0 / 1.071 GB, free: 7.254 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 0.0001286/0.387, allocations: 110.4 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.387, allocations: 7.984 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.3872, allocations: 72.72 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3873, allocations: 4.031 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3873, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3873, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.3875, allocations: 165.5 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3875, allocations: 4 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.3875, allocations: 7.984 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3875, allocations: 3.938 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3875, allocations: 0 / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3876, allocations: 0 / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3876, allocations: 4 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3878, allocations: 167.4 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.3878, allocations: 81.11 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.3879, allocations: 3.984 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.3879, allocations: 4 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.388, allocations: 3.938 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.388, allocations: 3.984 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.388, allocations: 83.31 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3881, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002087/0.3883, allocations: 7.938 kB / 1.072 GB, free: 6.434 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.0001615/0.3884, allocations: 103.2 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.3886, allocations: 35.95 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3887, allocations: 0 / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.3887, allocations: 20.05 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3891, allocations: 12.33 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.3894, allocations: 112 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.3896, allocations: 0.677 MB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.599e-05/0.3897, allocations: 4.062 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.3897, allocations: 11.38 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3897, allocations: 4 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of Templates: time 0.002425/0.3921, allocations: 357.4 kB / 1.073 GB, free: 5.051 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)