Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001092/0.001092, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.001718/0.001718, allocations: 169 kB / 24.27 MB, free: 276 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.9876/0.9876, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.948/1.948, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.8116 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.458e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001513/0.001548, allocations: 0.6775 MB / 0.8123 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008471/0.002395, allocations: 0.8674 MB / 0.8131 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.002431, allocations: 4.812 kB / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.002457, allocations: 0 / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.506e-05/0.002522, allocations: 8.75 kB / 0.8131 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.002698, allocations: 11.98 kB / 0.8131 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.688e-05/0.002765, allocations: 23.92 kB / 0.8132 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/0.002852, allocations: 8.766 kB / 0.8132 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.359e-05/0.002925, allocations: 11.98 kB / 0.8132 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.414e-05/0.002959, allocations: 13.62 kB / 0.8132 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.002974, allocations: 0 / 0.8132 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.386e-05/0.003018, allocations: 7.938 kB / 0.8132 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.003033, allocations: 7.984 kB / 0.8132 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.003052, allocations: 5.531 kB / 0.8132 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.003152, allocations: 19.97 kB / 0.8132 GB, free: 364 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.003156, allocations: 4 kB / 0.8132 GB, free: 360 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.11e-07/0.003157, allocations: 3.938 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.003161, allocations: 4.438 kB / 0.8132 GB, free: 352 kB / 0.7605 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.0003856/0.003547, allocations: 357.4 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.003587, allocations: 8.031 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.003699, allocations: 13.64 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.929e-05/0.003788, allocations: 104.6 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.003802, allocations: 9.969 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.003811, allocations: 384 / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.003932, allocations: 50.95 kB / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.003939, allocations: 192 / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.003949, allocations: 5.094 kB / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.003957, allocations: 384 / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.034e-05/0.003987, allocations: 12.45 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.004271, allocations: 247.8 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.59e-05/0.004327, allocations: 32.69 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.043e-05/0.004347, allocations: 7.75 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.004365, allocations: 7.984 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.004385, allocations: 33.98 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.004387, allocations: 0 / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000147/0.004534, allocations: 46.95 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.004565, allocations: 55.41 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.004643, allocations: 163.1 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.004654, allocations: 25.7 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.004698, allocations: 130.9 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.004716, allocations: 3.953 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.004743, allocations: 20.75 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.004855, allocations: 0.4884 MB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.004871, allocations: 4 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-06/0.004881, allocations: 1.75 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.004911, allocations: 11.69 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004913, allocations: 0 / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.736e-05/0.00497, allocations: 43.86 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.004984, allocations: 8 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.00499, allocations: 3.938 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.005005, allocations: 3.984 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.00508, allocations: 7.938 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.005085, allocations: 0 / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.005104, allocations: 10.75 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.005108, allocations: 0 / 0.8151 GB, free: 14.26 MB / 0.7761 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.238e-05/0.005171, allocations: 152.6 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.005185, allocations: 7.984 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.005321, allocations: 52.84 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.00533, allocations: 3.984 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.005334, allocations: 1.562 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.005337, allocations: 0 / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.661e-05/0.005433, allocations: 112.6 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.005435, allocations: 0 / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.00547, allocations: 8.609 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.005473, allocations: 0 / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.005481, allocations: 4.562 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.005483, allocations: 4.5 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005484, allocations: 0 / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.652e-05/0.00558, allocations: 184.5 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.005587, allocations: 5.375 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.005598, allocations: 7.938 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.182e-05/0.00563, allocations: 3.938 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.005667, allocations: 6.562 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.005671, allocations: 3.984 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.584e-05/0.005707, allocations: 123.2 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005707, allocations: 0 / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001388/0.005845, allocations: 8 kB / 0.8158 GB, free: 13.52 MB / 0.7761 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.0001034/0.005949, allocations: 91.25 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.347e-05/0.006032, allocations: 16.94 kB / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006034, allocations: 0 / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-05/0.006052, allocations: 16.7 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.006273, allocations: 4 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.006779, allocations: 124.3 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.834e-05/0.006818, allocations: 59.34 kB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.867e-05/0.006836, allocations: 0.7188 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.006865, allocations: 16.25 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of SimCode: time 6.02e-07/0.006865, allocations: 0 / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.002213/0.009078, allocations: 473.5 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.386341220932081]