Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000926/0.000926, allocations: 81.86 kB / 20.68 MB, free: 3.82 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009393/0.0009393, allocations: 181 kB / 24.08 MB, free: 424 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9337/0.9337, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.782/1.782, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.85e-05/4.176e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001802/0.001844, allocations: 0.6741 MB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.002986, allocations: 0.8719 MB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.003022, allocations: 1.406 kB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.003042, allocations: 3.938 kB / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.173e-05/0.003094, allocations: 3.984 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.003219, allocations: 11.94 kB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.49e-05/0.003274, allocations: 24.98 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.22e-05/0.003336, allocations: 4 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.152e-05/0.003397, allocations: 17.48 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.011e-05/0.003427, allocations: 11.98 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.003438, allocations: 0 / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.376e-05/0.003482, allocations: 11.92 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.003493, allocations: 0 / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.00351, allocations: 13.91 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.244e-05/0.003592, allocations: 15.97 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.003596, allocations: 4 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003597, allocations: 0 / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.0036, allocations: 0 / 0.7893 GB, free: 10.46 MB / 0.7448 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.0003534/0.003954, allocations: 362.9 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.003993, allocations: 8.031 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.833e-05/0.004091, allocations: 8.891 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.065e-05/0.004182, allocations: 108.6 kB / 0.7897 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.004194, allocations: 4.375 kB / 0.7897 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.004202, allocations: 4.375 kB / 0.7897 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.004313, allocations: 55.5 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.004323, allocations: 5.75 kB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-06/0.004329, allocations: 384 / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.004335, allocations: 384 / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.473e-05/0.00436, allocations: 7.938 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.004607, allocations: 225.3 kB / 0.79 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.132e-05/0.004658, allocations: 39.02 kB / 0.7901 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.004675, allocations: 8.344 kB / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.004696, allocations: 1.375 kB / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.004729, allocations: 45.39 kB / 0.7901 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.00473, allocations: 0 / 0.7901 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001266/0.004856, allocations: 44 kB / 0.7901 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.004894, allocations: 55.39 kB / 0.7902 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.004979, allocations: 153.9 kB / 0.7903 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.00499, allocations: 25.7 kB / 0.7904 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.005037, allocations: 130.9 kB / 0.7905 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.005054, allocations: 11.94 kB / 0.7905 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.005086, allocations: 20.08 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.005221, allocations: 496.1 kB / 0.791 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.005234, allocations: 0.5312 kB / 0.791 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/0.005248, allocations: 9.594 kB / 0.791 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.973e-05/0.005277, allocations: 11.69 kB / 0.791 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005279, allocations: 0 / 0.791 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.8e-05/0.005347, allocations: 42.34 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.00536, allocations: 4 kB / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005364, allocations: 1.25 kB / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.005377, allocations: 3.938 kB / 0.7911 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.005442, allocations: 4 kB / 0.7911 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.005445, allocations: 1.156 kB / 0.7911 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.005473, allocations: 15.92 kB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.005477, allocations: 0 / 0.7911 GB, free: 8.398 MB / 0.7448 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 7.131e-05/0.005549, allocations: 161.9 kB / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.005571, allocations: 0 / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.787e-05/0.005659, allocations: 45 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.005662, allocations: 5.688 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.005663, allocations: 0 / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.005666, allocations: 0 / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.005793, allocations: 101.2 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.005795, allocations: 1.281 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.005834, allocations: 7.984 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005836, allocations: 0 / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.00584, allocations: 0 / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.005841, allocations: 8.688 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005843, allocations: 0 / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.005953, allocations: 192.7 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.005961, allocations: 4 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-06/0.005969, allocations: 1.562 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.31e-05/0.006022, allocations: 0 / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.00605, allocations: 7.984 kB / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.006055, allocations: 3.938 kB / 0.7916 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.006098, allocations: 124.5 kB / 0.7917 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006098, allocations: 4 kB / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002115/0.00631, allocations: 0 / 0.7917 GB, free: 7.688 MB / 0.7448 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 8.541e-05/0.006395, allocations: 98.5 kB / 0.7918 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.533e-05/0.00646, allocations: 19.67 kB / 0.7918 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006462, allocations: 3.938 kB / 0.7918 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.856e-05/0.00648, allocations: 11.69 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.00672, allocations: 4 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.007123, allocations: 124.8 kB / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.007165, allocations: 59.28 kB / 0.792 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.007185, allocations: 4 kB / 0.792 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.007234, allocations: 67.11 kB / 0.7921 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.007235, allocations: 0 / 0.7921 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of Templates: time 0.002376/0.009611, allocations: 0.5103 MB / 0.7926 GB, free: 6.75 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.768028226215392]