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.001545/0.001545, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001728/0.001728, allocations: 166.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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.584/1.584, allocations: 177.2 MB / 202.8 MB, free: 9.152 MB / 190.1 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.859/2.859, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 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 1.953e-06/1.953e-06, allocations: 0 / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.654e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001692/0.001719, allocations: 0.6668 MB / 0.9821 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.002858, allocations: 0.8431 MB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.002901, allocations: 4 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.002929, allocations: 3.938 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.747e-05/0.002997, allocations: 3.984 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.003175, allocations: 11.98 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.087e-05/0.003246, allocations: 27.92 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.768e-05/0.003344, allocations: 4 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.003423, allocations: 19.86 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.963e-05/0.003462, allocations: 4 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.003479, allocations: 4 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.952e-05/0.003528, allocations: 11.97 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.003545, allocations: 7.938 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.003565, allocations: 4 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.003678, allocations: 35.83 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.00368, allocations: 0 / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003681, allocations: 0 / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.003685, allocations: 4 kB / 0.9831 GB, free: 10.22 MB / 0.9356 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.0004393/0.004125, allocations: 258.3 kB / 0.9834 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.004159, allocations: 12.03 kB / 0.9834 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.166e-05/0.004241, allocations: 4.891 kB / 0.9834 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.004354, allocations: 109.7 kB / 0.9835 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.004367, allocations: 384 / 0.9835 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.004375, allocations: 384 / 0.9835 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.004553, allocations: 50.23 kB / 0.9835 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004561, allocations: 192 / 0.9835 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.004572, allocations: 8.375 kB / 0.9835 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.004576, allocations: 384 / 0.9835 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.004755, allocations: 39.83 kB / 0.9836 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.005066, allocations: 188.6 kB / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.005199, allocations: 34.56 kB / 0.9838 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.005291, allocations: 24.89 kB / 0.9838 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.005316, allocations: 8 kB / 0.9838 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.005343, allocations: 34.5 kB / 0.9839 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.005344, allocations: 0 / 0.9839 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003546/0.005699, allocations: 81.58 kB / 0.9839 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.005741, allocations: 51.41 kB / 0.984 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.005824, allocations: 102 kB / 0.9841 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.005843, allocations: 25.7 kB / 0.9841 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.005894, allocations: 96.06 kB / 0.9842 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.005908, allocations: 4.125 kB / 0.9842 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.005943, allocations: 13.72 kB / 0.9842 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.006074, allocations: 310.8 kB / 0.9845 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-05/0.006164, allocations: 27.92 kB / 0.9845 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.621e-05/0.006261, allocations: 15.97 kB / 0.9845 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.006427, allocations: 44.77 kB / 0.9846 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.006428, allocations: 4.062 kB / 0.9846 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002022/0.00663, allocations: 65.61 kB / 0.9847 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.006645, allocations: 8 kB / 0.9847 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.006651, allocations: 3.984 kB / 0.9847 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.006665, allocations: 3.984 kB / 0.9847 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.367e-05/0.006759, allocations: 7.984 kB / 0.9847 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.006764, allocations: 4 kB / 0.9847 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.006813, allocations: 4 kB / 0.9847 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.006818, allocations: 7.969 kB / 0.9847 GB, free: 8.422 MB / 0.9356 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 7.112e-05/0.006889, allocations: 105.8 kB / 0.9848 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.006916, allocations: 7.984 kB / 0.9848 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.007146, allocations: 76.84 kB / 0.9849 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.007148, allocations: 0 / 0.9849 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.007151, allocations: 0 / 0.9849 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.007153, allocations: 0 / 0.9849 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.007287, allocations: 105.3 kB / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.00729, allocations: 8.031 kB / 0.985 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.007348, allocations: 4 kB / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.00735, allocations: 0 / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.007356, allocations: 0 / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.007361, allocations: 7.922 kB / 0.985 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.007364, allocations: 4 kB / 0.985 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.007611, allocations: 155.5 kB / 0.9851 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.007623, allocations: 11.94 kB / 0.9852 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.007636, allocations: 8.031 kB / 0.9852 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.007719, allocations: 7.938 kB / 0.9852 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.007751, allocations: 3.984 kB / 0.9852 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.007756, allocations: 4 kB / 0.9852 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.007794, allocations: 75.28 kB / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.007794, allocations: 4 kB / 0.9853 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002153/0.00801, allocations: 0 / 0.9853 GB, free: 7.785 MB / 0.9356 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.0001042/0.008114, allocations: 95.25 kB / 0.9853 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.00833, allocations: 43.95 kB / 0.9854 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008332, allocations: 3.938 kB / 0.9854 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.852e-05/0.00842, allocations: 19.92 kB / 0.9854 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.008683, allocations: 4 kB / 0.9854 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.008968, allocations: 112.8 kB / 0.9855 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.768e-05/0.009026, allocations: 59.34 kB / 0.9856 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.009045, allocations: 4.125 kB / 0.9856 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.009073, allocations: 12.5 kB / 0.9856 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.009073, allocations: 0 / 0.9856 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of Templates: time 0.002797/0.01187, allocations: 461.2 kB / 0.986 GB, free: 6.941 MB / 0.9356 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: 8.391157183796167]