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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001154, allocations: 175.6 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009202/0.0009203, allocations: 88.09 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003827, allocations: 10.91 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2849, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001749/0.2867, allocations: 1.098 MB / 0.8978 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003705/0.2872, allocations: 132.4 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.2872, allocations: 0 / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.2873, allocations: 0 / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.078e-05/0.2874, allocations: 3.984 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.2875, allocations: 8 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.947e-05/0.2876, allocations: 23.92 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2877, allocations: 8 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.2878, allocations: 11.92 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/0.2879, allocations: 4 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.2879, allocations: 0 / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.2879, allocations: 4 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.288, allocations: 4 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.288, allocations: 7.922 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.653e-05/0.2881, allocations: 15.95 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.2881, allocations: 4 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2881, allocations: 7.938 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.2881, allocations: 0 / 0.8981 GB, free: 66.81 MB / 0.6042 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.0004507/0.2886, allocations: 335.7 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.2886, allocations: 12.03 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.2887, allocations: 0.9375 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2888, allocations: 164.3 kB / 0.8985 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.2888, allocations: 4.375 kB / 0.8985 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.2888, allocations: 4.375 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.289, allocations: 58.92 kB / 0.8986 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2891, allocations: 4.172 kB / 0.8986 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2891, allocations: 3.938 kB / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2891, allocations: 3.938 kB / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.2893, allocations: 47.95 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.2896, allocations: 248.9 kB / 0.8989 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.2897, allocations: 50.48 kB / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.321e-05/0.2898, allocations: 24.91 kB / 0.899 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.2899, allocations: 0 / 0.899 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.2899, allocations: 34.56 kB / 0.899 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.2899, allocations: 0 / 0.899 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003782/0.2903, allocations: 101.6 kB / 0.8991 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.2903, allocations: 51.41 kB / 0.8992 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/0.2904, allocations: 105.8 kB / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2904, allocations: 29.83 kB / 0.8993 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.2905, allocations: 80.14 kB / 0.8994 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.2905, allocations: 7.844 kB / 0.8994 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.2905, allocations: 9.719 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.2906, allocations: 318.8 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.2907, allocations: 15.98 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.2908, allocations: 31.97 kB / 0.8997 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.2909, allocations: 44.83 kB / 0.8998 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2909, allocations: 4.062 kB / 0.8998 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001853/0.2911, allocations: 81.53 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2911, allocations: 4 kB / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2912, allocations: 0 / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2912, allocations: 4 kB / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.2913, allocations: 16.02 kB / 0.8999 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2913, allocations: 0 / 0.8999 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.2913, allocations: 4 kB / 0.8999 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.2914, allocations: 0 / 0.8999 GB, free: 64.72 MB / 0.6042 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.022e-05/0.2914, allocations: 121.8 kB / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.2915, allocations: 3.906 kB / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.2917, allocations: 84.72 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2917, allocations: 0 / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2917, allocations: 0 / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2917, allocations: 3.938 kB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.2919, allocations: 161.6 kB / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2919, allocations: 0 / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.2919, allocations: 20.02 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2919, allocations: 0 / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2919, allocations: 0 / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.292, allocations: 4 kB / 0.9003 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.292, allocations: 0 / 0.9003 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.2922, allocations: 175.5 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.2922, allocations: 81.05 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.2922, allocations: 7.922 kB / 0.9005 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.2923, allocations: 4 kB / 0.9005 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.2924, allocations: 11.98 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.2924, allocations: 4.031 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.573e-05/0.2924, allocations: 79.28 kB / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2924, allocations: 0 / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001948/0.2926, allocations: 4 kB / 0.9006 GB, free: 63.87 MB / 0.6042 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.0001854/0.2928, allocations: 95.25 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.293, allocations: 51.95 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.293, allocations: 0 / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.176e-05/0.2931, allocations: 23.98 kB / 0.9008 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.2934, allocations: 8.266 kB / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.2937, allocations: 149 kB / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.2939, allocations: 0.677 MB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.294, allocations: 7.438 kB / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/0.294, allocations: 0 / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.001995/0.296, allocations: 0.5378 MB / 0.9021 GB, free: 62.26 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (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)