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.001325/0.001325, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001406/0.001406, allocations: 171.5 kB / 24.87 MB, free: 9.258 MB / 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.9798/0.9798, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.945/1.945, allocations: 377.9 MB / 0.6247 GB, free: 8.43 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.274e-06/2.274e-06, allocations: 0 / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.269e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001489/0.001521, allocations: 0.6917 MB / 0.8135 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009694/0.002491, allocations: 0.8643 MB / 0.8144 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.002526, allocations: 0 / 0.8144 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.002555, allocations: 3.938 kB / 0.8144 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/0.002632, allocations: 1.406 kB / 0.8144 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.002848, allocations: 11.98 kB / 0.8144 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.002938, allocations: 31.8 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.003055, allocations: 4 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.003147, allocations: 17.78 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.003185, allocations: 11.98 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.003199, allocations: 0 / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.038e-05/0.003249, allocations: 7.938 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.003265, allocations: 4 kB / 0.8145 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.003281, allocations: 9.531 kB / 0.8145 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.727e-05/0.003378, allocations: 15.98 kB / 0.8145 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003381, allocations: 0 / 0.8145 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003382, allocations: 0 / 0.8145 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.003387, allocations: 4.609 kB / 0.8145 GB, free: 15.75 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.0003328/0.00372, allocations: 365.9 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.003758, allocations: 8.031 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.571e-05/0.003844, allocations: 4.938 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.253e-05/0.003926, allocations: 108.6 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.003936, allocations: 1.531 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.003943, allocations: 384 / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.004064, allocations: 64.25 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004072, allocations: 192 / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-06/0.004079, allocations: 384 / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.004084, allocations: 384 / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/0.004108, allocations: 9.594 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.004361, allocations: 228.4 kB / 0.8152 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.823e-05/0.004409, allocations: 31.09 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.288e-05/0.004422, allocations: 11.62 kB / 0.8153 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.004437, allocations: 9.344 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.00446, allocations: 37.39 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.00446, allocations: 0 / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.00459, allocations: 42.12 kB / 0.8154 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.004622, allocations: 53.31 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.965e-05/0.004692, allocations: 157.9 kB / 0.8156 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.004702, allocations: 25.7 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.004747, allocations: 134.9 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.004765, allocations: 3.953 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.004791, allocations: 25.66 kB / 0.8157 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.004915, allocations: 0.4883 MB / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.004927, allocations: 0 / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-06/0.004936, allocations: 4 kB / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.683e-05/0.004963, allocations: 11.69 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.004965, allocations: 0.7188 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.225e-05/0.005027, allocations: 34.23 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.005042, allocations: 10.64 kB / 0.8163 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.005049, allocations: 1.656 kB / 0.8163 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.00506, allocations: 3.938 kB / 0.8163 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.005127, allocations: 4 kB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.005131, allocations: 7.938 kB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.00515, allocations: 9.25 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.005154, allocations: 0 / 0.8163 GB, free: 13.7 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.491e-05/0.005239, allocations: 161.1 kB / 0.8165 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.005257, allocations: 3.984 kB / 0.8165 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.315e-05/0.00535, allocations: 45.91 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.005353, allocations: 3.938 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.005356, allocations: 0.8438 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.00536, allocations: 0 / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.812e-05/0.005458, allocations: 102.9 kB / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005459, allocations: 0 / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.005489, allocations: 7.984 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.005492, allocations: 4 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.005497, allocations: 0.875 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.005499, allocations: 4 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.0055, allocations: 2.188 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.861e-05/0.005599, allocations: 191.8 kB / 0.8168 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-06/0.005607, allocations: 7.984 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.005615, allocations: 0 / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.02e-05/0.005645, allocations: 4 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.005674, allocations: 0 / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.005678, allocations: 6.094 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.00572, allocations: 127.2 kB / 0.817 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.00572, allocations: 0 / 0.817 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001322/0.005852, allocations: 4 kB / 0.817 GB, free: 12.98 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.0001116/0.005964, allocations: 91.75 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.555e-05/0.006029, allocations: 20.75 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.006032, allocations: 4 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.585e-05/0.006048, allocations: 12.8 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.006235, allocations: 4 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.006628, allocations: 125 kB / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.006663, allocations: 55.3 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.006683, allocations: 7.984 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.006729, allocations: 66.7 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.00673, allocations: 4 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.002032/0.008762, allocations: 0.5025 MB / 0.8178 GB, free: 12.05 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.175816789735109]