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.002092/0.002092, allocations: 88.39 kB / 20.23 MB, free: 4.168 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.002655/0.002655, allocations: 161.3 kB / 23.54 MB, free: 0.8594 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 1.529/1.529, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.932/2.932, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] 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.304e-06/2.304e-06, allocations: 0 / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.156e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001945/0.001977, allocations: 0.6747 MB / 0.8115 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.003324, allocations: 0.8485 MB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.003374, allocations: 0 / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.003414, allocations: 3.938 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.349e-05/0.003487, allocations: 4.594 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.003674, allocations: 11.98 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.594e-05/0.00375, allocations: 21.12 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.003848, allocations: 15.91 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.003925, allocations: 8 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.003968, allocations: 16.48 kB / 0.8124 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.003983, allocations: 0 / 0.8124 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.699e-05/0.00404, allocations: 6.406 kB / 0.8125 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.004053, allocations: 0 / 0.8125 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.004081, allocations: 11.98 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.004226, allocations: 31.89 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.004229, allocations: 0 / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.22e-07/0.00423, allocations: 0 / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.004235, allocations: 0.9062 kB / 0.8125 GB, free: 392 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.0005167/0.004752, allocations: 262.3 kB / 0.8127 GB, free: 96 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.004793, allocations: 9.062 kB / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.004912, allocations: 8.891 kB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.005072, allocations: 109.7 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.005089, allocations: 5.75 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.0051, allocations: 384 / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.005304, allocations: 56.11 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.005313, allocations: 192 / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.005322, allocations: 384 / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.005327, allocations: 384 / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.005508, allocations: 37.56 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.005867, allocations: 192.6 kB / 0.8131 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.006022, allocations: 34.56 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.006115, allocations: 21.78 kB / 0.8132 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.006148, allocations: 4.531 kB / 0.8132 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.006186, allocations: 38.55 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.006187, allocations: 0.5312 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0004024/0.00659, allocations: 83.23 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.006643, allocations: 55.92 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.006747, allocations: 101.8 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.006771, allocations: 27.08 kB / 0.8135 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.006834, allocations: 84.14 kB / 0.8136 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.006871, allocations: 7.953 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.006928, allocations: 18.86 kB / 0.8136 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.007099, allocations: 310.8 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/0.007189, allocations: 19.92 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.007269, allocations: 16.92 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.007429, allocations: 38.5 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007431, allocations: 0 / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002306/0.007661, allocations: 66.95 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.007679, allocations: 4.844 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.007689, allocations: 11.92 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.473e-05/0.007724, allocations: 1 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.007825, allocations: 4 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.007833, allocations: 3.938 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.651e-05/0.00789, allocations: 13.36 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.007898, allocations: 4 kB / 0.8141 GB, free: 14.61 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 9.429e-05/0.007992, allocations: 111.2 kB / 0.8142 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.008018, allocations: 0 / 0.8142 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.008278, allocations: 79.94 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.00828, allocations: 0 / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.008287, allocations: 3.984 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.00829, allocations: 0 / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.008449, allocations: 101.3 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.00845, allocations: 0 / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.008518, allocations: 11.98 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.008521, allocations: 0 / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.008528, allocations: 0.5 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.008535, allocations: 5.281 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008536, allocations: 0 / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.008845, allocations: 168.5 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.008855, allocations: 4 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.00887, allocations: 0.6562 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.008981, allocations: 11.92 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.009025, allocations: 2.594 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.009031, allocations: 4 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.009085, allocations: 79.27 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.009085, allocations: 4 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002576/0.009343, allocations: 0 / 0.8146 GB, free: 13.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.0001376/0.00948, allocations: 102.1 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.009717, allocations: 39.89 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.009719, allocations: 0 / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.711e-05/0.009806, allocations: 15.98 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.01014, allocations: 8.938 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.01052, allocations: 113.8 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.746e-05/0.0106, allocations: 63.2 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.01062, allocations: 5.062 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.01066, allocations: 8.5 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of SimCode: time 1.042e-06/0.01066, allocations: 0 / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.003208/0.01387, allocations: 484.9 kB / 0.8154 GB, free: 13.12 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.933295179973356]