Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 115.1 kB / 17.08 MB, free: 5.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 193.2 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437.1 MB / 0.7177 GB, free: 4.809 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.89 kB / 1.028 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2956, allocations: 151.6 MB / 1.176 GB, free: 6.008 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001798/0.2975, allocations: 0.6673 MB / 1.177 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.2984, allocations: 0.8199 MB / 1.177 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.2985, allocations: 0 / 1.177 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.2985, allocations: 3.938 kB / 1.177 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.2986, allocations: 7.922 kB / 1.177 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.2987, allocations: 11.94 kB / 1.177 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.176e-05/0.2988, allocations: 23.92 kB / 1.177 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.924e-05/0.2989, allocations: 8 kB / 1.177 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.842e-05/0.299, allocations: 11.98 kB / 1.177 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.299, allocations: 7.922 kB / 1.177 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.299, allocations: 4 kB / 1.177 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-06/0.299, allocations: 0 / 1.177 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.2991, allocations: 7.984 kB / 1.177 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.2991, allocations: 11.94 kB / 1.177 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 7.776e-05/0.2992, allocations: 23.84 kB / 1.177 GB, free: 4.383 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2992, allocations: 0 / 1.177 GB, free: 4.383 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2992, allocations: 0 / 1.177 GB, free: 4.383 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2992, allocations: 0 / 1.177 GB, free: 4.383 MB / 0.92 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.0004619/0.2997, allocations: 343.5 kB / 1.178 GB, free: 3.996 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2997, allocations: 8.031 kB / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.2997, allocations: 0.9375 kB / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.2999, allocations: 172.3 kB / 1.178 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.2999, allocations: 384 / 1.178 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.2999, allocations: 384 / 1.178 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.3001, allocations: 54.17 kB / 1.178 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3001, allocations: 4.188 kB / 1.178 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3001, allocations: 3.938 kB / 1.178 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3001, allocations: 0 / 1.178 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.3003, allocations: 31.97 kB / 1.178 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.3006, allocations: 245 kB / 1.178 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.3008, allocations: 46.44 kB / 1.178 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.844e-05/0.3009, allocations: 24.91 kB / 1.178 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.3009, allocations: 0 / 1.178 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3009, allocations: 30.56 kB / 1.178 GB, free: 3.273 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.3009, allocations: 0 / 1.178 GB, free: 3.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003503/0.3013, allocations: 85.73 kB / 1.178 GB, free: 3.184 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.3013, allocations: 51.41 kB / 1.179 GB, free: 3.121 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.3015, allocations: 105.8 kB / 1.179 GB, free: 3.008 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3015, allocations: 29.7 kB / 1.179 GB, free: 2.973 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.3015, allocations: 84.14 kB / 1.179 GB, free: 2.887 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.3016, allocations: 3.953 kB / 1.179 GB, free: 2.883 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.3016, allocations: 13.66 kB / 1.179 GB, free: 2.863 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3017, allocations: 322.9 kB / 1.179 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.3018, allocations: 15.98 kB / 1.179 GB, free: 2.523 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.3019, allocations: 15.98 kB / 1.179 GB, free: 2.508 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3021, allocations: 40.81 kB / 1.179 GB, free: 2.465 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3021, allocations: 0 / 1.179 GB, free: 2.465 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.3023, allocations: 77.56 kB / 1.179 GB, free: 2.383 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3023, allocations: 4 kB / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3023, allocations: 0 / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3023, allocations: 0 / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.3024, allocations: 15.98 kB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3024, allocations: 3.938 kB / 1.179 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.3025, allocations: 11.92 kB / 1.179 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.3025, allocations: 0 / 1.179 GB, free: 2.348 MB / 0.92 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.09e-05/0.3026, allocations: 117.8 kB / 1.179 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.3026, allocations: 4 kB / 1.179 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.3028, allocations: 64.78 kB / 1.179 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3029, allocations: 0 / 1.179 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3029, allocations: 0 / 1.179 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3029, allocations: 7.984 kB / 1.179 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.3031, allocations: 157.6 kB / 1.18 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3031, allocations: 32 / 1.18 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.3032, allocations: 11.98 kB / 1.18 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3032, allocations: 0 / 1.18 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3032, allocations: 8 kB / 1.18 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3032, allocations: 0 / 1.18 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3032, allocations: 3.938 kB / 1.18 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.3035, allocations: 163.5 kB / 1.18 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.3035, allocations: 81.06 kB / 1.18 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.3035, allocations: 0 / 1.18 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/0.3036, allocations: 7.984 kB / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.3037, allocations: 4 kB / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3037, allocations: 3.938 kB / 1.18 GB, free: 1.625 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.3037, allocations: 79.28 kB / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3037, allocations: 0 / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002125/0.304, allocations: 4 kB / 1.18 GB, free: 1.543 MB / 0.92 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.0001419/0.3041, allocations: 107.3 kB / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.3043, allocations: 35.91 kB / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3043, allocations: 0 / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.263e-05/0.3044, allocations: 23.97 kB / 1.18 GB, free: 1.367 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3047, allocations: 10.33 kB / 1.18 GB, free: 1.359 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.305, allocations: 135.8 kB / 1.18 GB, free: 1.195 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.3053, allocations: 0.6729 MB / 1.181 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.3054, allocations: 15.44 kB / 1.181 GB, free: 492 kB / 0.92 GB Notification: Performance of SimCode: time 3.21e-07/0.3054, allocations: 0 / 1.181 GB, free: 492 kB / 0.92 GB Notification: Performance of Templates: time 0.002034/0.3074, allocations: 0.5435 MB / 1.181 GB, free: 15.94 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.189459968940355]