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.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.001681/0.001681, allocations: 106 kB / 18.84 MB, free: 3.023 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.001922/0.001922, allocations: 192 kB / 22.1 MB, free: 4.223 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.676/1.676, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.112/3.112, allocations: 495.8 MB / 0.783 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002066/0.002066, allocations: 63.89 kB / 1.137 GB, free: 12.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001821/1.063, allocations: 0.673 MB / 1.307 GB, free: 33.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007823/1.064, allocations: 0.8224 MB / 1.308 GB, free: 32.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/1.064, allocations: 0 / 1.308 GB, free: 32.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/1.064, allocations: 0 / 1.308 GB, free: 32.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/1.064, allocations: 3.938 kB / 1.308 GB, free: 32.69 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/1.064, allocations: 14.38 kB / 1.308 GB, free: 32.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.627e-05/1.064, allocations: 24.12 kB / 1.308 GB, free: 32.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/1.064, allocations: 2.938 kB / 1.308 GB, free: 32.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.714e-05/1.064, allocations: 7.031 kB / 1.308 GB, free: 32.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/1.064, allocations: 18.23 kB / 1.308 GB, free: 32.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/1.064, allocations: 3.062 kB / 1.308 GB, free: 32.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/1.064, allocations: 2.844 kB / 1.308 GB, free: 32.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/1.064, allocations: 4 kB / 1.308 GB, free: 32.65 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/1.064, allocations: 10.44 kB / 1.308 GB, free: 32.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.649e-05/1.064, allocations: 28.16 kB / 1.308 GB, free: 32.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.064, allocations: 2.719 kB / 1.308 GB, free: 32.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.853e-06/1.064, allocations: 0 / 1.308 GB, free: 32.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.801e-06/1.064, allocations: 0 / 1.308 GB, free: 32.63 MB / 1.061 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.0003994/1.065, allocations: 266.7 kB / 1.309 GB, free: 32.37 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/1.065, allocations: 8.375 kB / 1.309 GB, free: 32.37 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/1.065, allocations: 4.891 kB / 1.309 GB, free: 32.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.491e-05/1.065, allocations: 109.4 kB / 1.309 GB, free: 32.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/1.065, allocations: 384 / 1.309 GB, free: 32.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/1.065, allocations: 3.25 kB / 1.309 GB, free: 32.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/1.065, allocations: 48.34 kB / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/1.065, allocations: 192 / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/1.065, allocations: 7.219 kB / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.065, allocations: 4 kB / 1.309 GB, free: 32.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/1.065, allocations: 33.11 kB / 1.309 GB, free: 32.19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/1.066, allocations: 215.3 kB / 1.309 GB, free: 31.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/1.066, allocations: 48.78 kB / 1.309 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.388e-05/1.066, allocations: 25.14 kB / 1.309 GB, free: 31.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/1.066, allocations: 3.422 kB / 1.309 GB, free: 31.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/1.066, allocations: 33.25 kB / 1.309 GB, free: 31.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.066, allocations: 0 / 1.309 GB, free: 31.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003548/1.066, allocations: 77.86 kB / 1.309 GB, free: 31.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/1.066, allocations: 59.53 kB / 1.309 GB, free: 31.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.353e-05/1.066, allocations: 98.64 kB / 1.309 GB, free: 31.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/1.066, allocations: 25.7 kB / 1.309 GB, free: 31.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/1.066, allocations: 94.72 kB / 1.309 GB, free: 31.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/1.066, allocations: 3.953 kB / 1.309 GB, free: 31.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/1.066, allocations: 15.97 kB / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.555e-05/1.066, allocations: 314.8 kB / 1.31 GB, free: 31.19 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/1.067, allocations: 15.58 kB / 1.31 GB, free: 31.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/1.067, allocations: 22.3 kB / 1.31 GB, free: 31.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/1.067, allocations: 35.81 kB / 1.31 GB, free: 31.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.067, allocations: 0 / 1.31 GB, free: 31.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001779/1.067, allocations: 74.38 kB / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.067, allocations: 9.781 kB / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.067, allocations: 0 / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.067, allocations: 3.328 kB / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/1.067, allocations: 5.688 kB / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.067, allocations: 0 / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/1.067, allocations: 8.781 kB / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/1.067, allocations: 0 / 1.31 GB, free: 31.12 MB / 1.061 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 4.874e-05/1.067, allocations: 117.1 kB / 1.31 GB, free: 31 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/1.067, allocations: 11.16 kB / 1.31 GB, free: 30.99 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/1.067, allocations: 70.52 kB / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.067, allocations: 0 / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.067, allocations: 6.875 kB / 1.31 GB, free: 30.94 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.067, allocations: 0 / 1.31 GB, free: 30.94 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/1.068, allocations: 127 kB / 1.31 GB, free: 30.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.068, allocations: 3.328 kB / 1.31 GB, free: 30.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/1.068, allocations: 8.781 kB / 1.31 GB, free: 30.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.068, allocations: 4.031 kB / 1.31 GB, free: 30.78 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-06/1.068, allocations: 3.188 kB / 1.31 GB, free: 30.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.068, allocations: 0 / 1.31 GB, free: 30.78 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.068, allocations: 3.984 kB / 1.31 GB, free: 30.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/1.068, allocations: 165.3 kB / 1.31 GB, free: 30.63 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/1.068, allocations: 2.906 kB / 1.31 GB, free: 30.63 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/1.068, allocations: 4.031 kB / 1.31 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/1.068, allocations: 6.219 kB / 1.31 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/1.068, allocations: 7.266 kB / 1.31 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/1.068, allocations: 6.812 kB / 1.31 GB, free: 30.62 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.845e-05/1.068, allocations: 78.34 kB / 1.311 GB, free: 30.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.068, allocations: 3.938 kB / 1.311 GB, free: 30.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002478/1.068, allocations: 6.781 kB / 1.311 GB, free: 30.54 MB / 1.061 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.0001269/1.068, allocations: 97.62 kB / 1.311 GB, free: 30.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002333/1.069, allocations: 37.08 kB / 1.311 GB, free: 30.44 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.069, allocations: 0 / 1.311 GB, free: 30.44 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.506e-05/1.069, allocations: 20.62 kB / 1.311 GB, free: 30.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/1.069, allocations: 6.688 kB / 1.311 GB, free: 30.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/1.069, allocations: 111 kB / 1.311 GB, free: 30.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/1.07, allocations: 0.6816 MB / 1.312 GB, free: 29.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.268e-05/1.07, allocations: 0 / 1.312 GB, free: 29.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/1.07, allocations: 7.438 kB / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/1.07, allocations: 0 / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of Templates: time 0.002741/1.072, allocations: 460.4 kB / 1.312 GB, free: 29.53 MB / 1.061 GB " [Timeout remaining time 299] 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: 10.181898720562458]