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.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.001306/0.001306, allocations: 104.7 kB / 16.45 MB, free: 6.445 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.001303/0.001303, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.479/1.479, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.898/2.898, allocations: 476.7 MB / 0.7611 GB, free: 15.87 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003373/0.003373, allocations: 67.89 kB / 1.104 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109/1.112, allocations: 168.7 MB / 1.269 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002638/1.115, allocations: 0.6772 MB / 1.269 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001304/1.116, allocations: 0.8064 MB / 1.27 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/1.116, allocations: 0.8125 kB / 1.27 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/1.116, allocations: 3.172 kB / 1.27 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.265e-05/1.116, allocations: 5.062 kB / 1.27 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/1.117, allocations: 8.156 kB / 1.27 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.236e-05/1.117, allocations: 20.92 kB / 1.27 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/1.117, allocations: 10.98 kB / 1.27 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.572e-05/1.117, allocations: 12.77 kB / 1.27 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/1.117, allocations: 5.859 kB / 1.27 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/1.117, allocations: 6.453 kB / 1.27 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/1.117, allocations: 5.469 kB / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/1.117, allocations: 5.969 kB / 1.27 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/1.117, allocations: 11.25 kB / 1.27 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/1.117, allocations: 23.66 kB / 1.27 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.117, allocations: 0 / 1.27 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.003e-06/1.117, allocations: 4 kB / 1.27 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.111e-06/1.117, allocations: 0.75 kB / 1.27 GB, free: 6.66 MB / 0.9981 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.00051/1.118, allocations: 336.3 kB / 1.271 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.118, allocations: 9.625 kB / 1.271 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/1.118, allocations: 32.03 kB / 1.271 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/1.118, allocations: 11.03 kB / 1.271 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.59e-05/1.118, allocations: 167.5 kB / 1.271 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/1.118, allocations: 384 / 1.271 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/1.118, allocations: 6 kB / 1.271 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/1.118, allocations: 49.52 kB / 1.271 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.118, allocations: 3.938 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/1.118, allocations: 0 / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/1.118, allocations: 0.6562 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/1.118, allocations: 33.34 kB / 1.271 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/1.119, allocations: 250 kB / 1.271 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/1.119, allocations: 44.5 kB / 1.271 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/1.119, allocations: 23.14 kB / 1.271 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/1.119, allocations: 5.312 kB / 1.271 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/1.119, allocations: 31.28 kB / 1.271 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.993e-06/1.119, allocations: 0 / 1.271 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0005538/1.12, allocations: 87.64 kB / 1.271 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/1.12, allocations: 52.95 kB / 1.271 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/1.12, allocations: 97.41 kB / 1.272 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/1.12, allocations: 25.7 kB / 1.272 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/1.12, allocations: 90.16 kB / 1.272 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/1.12, allocations: 5.562 kB / 1.272 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/1.12, allocations: 16.44 kB / 1.272 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.136e-05/1.12, allocations: 317.5 kB / 1.272 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/1.12, allocations: 13.78 kB / 1.272 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/1.12, allocations: 18.39 kB / 1.272 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/1.12, allocations: 45.22 kB / 1.272 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.12, allocations: 3.938 kB / 1.272 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003408/1.121, allocations: 67.47 kB / 1.272 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.121, allocations: 5.875 kB / 1.272 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.121, allocations: 0.5156 kB / 1.272 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.121, allocations: 0 / 1.272 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/1.121, allocations: 9.656 kB / 1.272 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/1.121, allocations: 3.938 kB / 1.272 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-05/1.121, allocations: 10.95 kB / 1.272 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/1.121, allocations: 0.875 kB / 1.272 GB, free: 4.898 MB / 0.9981 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 6.14e-05/1.121, allocations: 116.3 kB / 1.272 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/1.121, allocations: 1.297 kB / 1.272 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/1.122, allocations: 70.84 kB / 1.272 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.122, allocations: 1.719 kB / 1.272 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.122, allocations: 4.031 kB / 1.272 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.122, allocations: 4.734 kB / 1.272 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/1.122, allocations: 163.5 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.122, allocations: 0.7812 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/1.122, allocations: 8.5 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.122, allocations: 0.9688 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/1.122, allocations: 0.875 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/1.122, allocations: 0.75 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.122, allocations: 0.75 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/1.122, allocations: 174.1 kB / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/1.122, allocations: 78.86 kB / 1.273 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/1.122, allocations: 1.406 kB / 1.273 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/1.122, allocations: 5.969 kB / 1.273 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/1.122, allocations: 6.109 kB / 1.273 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/1.122, allocations: 5.438 kB / 1.273 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.561e-05/1.122, allocations: 83.83 kB / 1.273 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.122, allocations: 0 / 1.273 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004126/1.123, allocations: 3.75 kB / 1.273 GB, free: 4.195 MB / 0.9981 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.0006281/1.124, allocations: 0.699 MB / 1.274 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000356/1.124, allocations: 35.47 kB / 1.274 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.124, allocations: 0 / 1.274 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/1.124, allocations: 25.44 kB / 1.274 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/1.125, allocations: 2.156 kB / 1.274 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/1.125, allocations: 148.8 kB / 1.274 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/1.125, allocations: 0.6756 MB / 1.274 GB, free: 18.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.211e-05/1.125, allocations: 1.656 kB / 1.274 GB, free: 18.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/1.125, allocations: 12.84 kB / 1.274 GB, free: 18.65 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.125, allocations: 0 / 1.274 GB, free: 18.65 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/1.156, allocations: 1.28 MB / 1.276 GB, free: 18.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/9.218, allocations: 4.125 kB / 1.276 GB, free: 18.27 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.648349887691438]