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.001054/0.001054, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001238/0.001238, allocations: 181 kB / 24.09 MB, free: 416 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.9842/0.9842, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.942/1.942, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.244e-06/2.244e-06, allocations: 0 / 0.8121 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.701e-05/3.925e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001641/0.00168, allocations: 0.6775 MB / 0.8127 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.002658, allocations: 0.8632 MB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.002697, allocations: 0 / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.002725, allocations: 4.594 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.924e-05/0.002795, allocations: 1.594 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.002975, allocations: 23.84 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.003035, allocations: 19.94 kB / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.003123, allocations: 11.98 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.003198, allocations: 9.031 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.194e-05/0.00323, allocations: 7.984 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.003244, allocations: 0 / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.661e-05/0.00329, allocations: 8.719 kB / 0.8137 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.003307, allocations: 11.98 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.003321, allocations: 9.609 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.003423, allocations: 19.98 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003426, allocations: 0 / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003426, allocations: 0 / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.003431, allocations: 0 / 0.8137 GB, free: 15.74 MB / 0.7761 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.000338/0.003769, allocations: 362.1 kB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.003819, allocations: 8.031 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.00392, allocations: 8.938 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.061e-05/0.004, allocations: 120.6 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.00401, allocations: 1.75 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.004016, allocations: 4.312 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.004117, allocations: 50.95 kB / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004124, allocations: 1.938 kB / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-06/0.004129, allocations: 384 / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004134, allocations: 384 / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.004154, allocations: 7.938 kB / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.00438, allocations: 232.5 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.859e-05/0.004429, allocations: 36.47 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/0.004442, allocations: 7.688 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.004468, allocations: 4.594 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.00449, allocations: 33.39 kB / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.004491, allocations: 1.406 kB / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001271/0.004618, allocations: 45.58 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.004653, allocations: 51.41 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.004729, allocations: 168.5 kB / 0.8148 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.00474, allocations: 29.7 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.004788, allocations: 130.9 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.004804, allocations: 3.953 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.004833, allocations: 19.38 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.004966, allocations: 496.1 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.00498, allocations: 0.5312 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.004993, allocations: 4.719 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.005022, allocations: 19.67 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.005025, allocations: 0.5312 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.03e-05/0.005085, allocations: 35.36 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.005097, allocations: 4 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.005102, allocations: 0 / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.005116, allocations: 7.875 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.138e-05/0.005198, allocations: 8.5 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.005203, allocations: 4.578 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.005223, allocations: 4.719 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.005227, allocations: 0 / 0.8155 GB, free: 13.68 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 8.517e-05/0.005312, allocations: 157.7 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.005325, allocations: 0 / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.692e-05/0.005422, allocations: 45 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.005425, allocations: 4.438 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.005427, allocations: 1.125 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005429, allocations: 0 / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.505e-05/0.005524, allocations: 101.2 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.005526, allocations: 0.9062 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.005557, allocations: 8 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.00556, allocations: 0.8438 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.005566, allocations: 7.938 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.005567, allocations: 6.156 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005568, allocations: 0 / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.829e-05/0.005656, allocations: 188 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.005662, allocations: 8 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-06/0.005671, allocations: 3.984 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.914e-05/0.0057, allocations: 4 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.005727, allocations: 6.766 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.005731, allocations: 3.938 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.284e-05/0.005764, allocations: 127.2 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.005764, allocations: 0 / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001329/0.005897, allocations: 4 kB / 0.8162 GB, free: 12.96 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 9.504e-05/0.005992, allocations: 92.72 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.566e-05/0.006058, allocations: 23.61 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.006059, allocations: 0 / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.637e-05/0.006075, allocations: 12.19 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.006268, allocations: 11.61 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.006636, allocations: 126.7 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.154e-05/0.006668, allocations: 59.3 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.438e-05/0.006682, allocations: 0.6562 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.006728, allocations: 70.73 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of SimCode: time 9.01e-07/0.006728, allocations: 3.938 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.002557/0.009286, allocations: 499.9 kB / 0.817 GB, free: 12.04 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.078842311631888]