Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001686/0.001686, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002331/0.002331, allocations: 214.6 kB / 23.03 MB, free: 4.922 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.598/1.598, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.921/2.921, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.89 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3614, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002336/0.3638, allocations: 0.6691 MB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.365, allocations: 0.8395 MB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.3651, allocations: 0 / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.3651, allocations: 0 / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/0.3652, allocations: 3.938 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.3654, allocations: 8 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.017e-05/0.3655, allocations: 27.91 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3656, allocations: 15.98 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.3657, allocations: 7.938 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.3657, allocations: 7.984 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.3658, allocations: 4 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.522e-05/0.3658, allocations: 12 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.3658, allocations: 3.938 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.3659, allocations: 8 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.366, allocations: 31.39 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.366, allocations: 4 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.344e-06/0.366, allocations: 0 / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.366, allocations: 0 / 1.286 GB, free: 9.023 MB / 0.9825 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.0005454/0.3666, allocations: 263.8 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.3666, allocations: 12.03 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.512e-05/0.3666, allocations: 192 / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.3667, allocations: 34.69 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.608e-05/0.3668, allocations: 8.875 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.3669, allocations: 106.5 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3669, allocations: 4.375 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.3669, allocations: 384 / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3671, allocations: 53.98 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3671, allocations: 4 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3671, allocations: 0 / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.3671, allocations: 0 / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.3673, allocations: 35.95 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.3677, allocations: 227.7 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.3678, allocations: 38.59 kB / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.907e-05/0.3679, allocations: 16.91 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.368, allocations: 8 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.368, allocations: 30.56 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.368, allocations: 0 / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003736/0.3684, allocations: 85.58 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.3684, allocations: 51.41 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.016e-05/0.3685, allocations: 101.8 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3685, allocations: 25.7 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.3686, allocations: 88.27 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.3686, allocations: 3.953 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.3686, allocations: 13.72 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3688, allocations: 314.8 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.3689, allocations: 19.97 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/0.3689, allocations: 11.98 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.3691, allocations: 40.83 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3691, allocations: 4 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001963/0.3693, allocations: 69.59 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3693, allocations: 4 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3693, allocations: 0 / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3693, allocations: 0 / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.3694, allocations: 15.98 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3694, allocations: 0 / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.267e-05/0.3695, allocations: 16.02 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.3695, allocations: 0 / 1.287 GB, free: 7.152 MB / 0.9825 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.358e-05/0.3696, allocations: 113.8 kB / 1.287 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.3696, allocations: 3.953 kB / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.3698, allocations: 76.91 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3698, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3698, allocations: 192 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3698, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.37, allocations: 136.6 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.37, allocations: 4.031 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.3701, allocations: 11.98 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3701, allocations: 0 / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.3701, allocations: 3.938 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3701, allocations: 0 / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3701, allocations: 0 / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.3704, allocations: 159.5 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.3704, allocations: 8 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.3704, allocations: 4.031 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.3705, allocations: 7.984 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.3705, allocations: 0 / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.3705, allocations: 3.938 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.796e-05/0.3706, allocations: 79.28 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3706, allocations: 0 / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002231/0.3708, allocations: 11.98 kB / 1.288 GB, free: 6.469 MB / 0.9825 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.000625/0.3714, allocations: 0.6929 MB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.3716, allocations: 31.97 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3716, allocations: 0 / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.623e-05/0.3717, allocations: 23.91 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3721, allocations: 7.938 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.3726, allocations: 144 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.101e-05/0.3727, allocations: 63.34 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.3727, allocations: 0 / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.3728, allocations: 7.438 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3728, allocations: 0 / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.3953, allocations: 1.452 MB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.86, allocations: 9.344 kB / 1.29 GB, free: 4.105 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.95275994297117]