Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004474/0.004474, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 195.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 482.4 MB / 0.7548 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002001, allocations: 70.8 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.305, allocations: 162.2 MB / 1.242 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001999/0.307, allocations: 0.6594 MB / 1.242 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3081, allocations: 0.8121 MB / 1.243 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.3081, allocations: 4 kB / 1.243 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.3082, allocations: 3.938 kB / 1.243 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.77e-05/0.3083, allocations: 3.938 kB / 1.243 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.3084, allocations: 7.984 kB / 1.243 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.681e-05/0.3084, allocations: 23.92 kB / 1.243 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.3085, allocations: 11.97 kB / 1.243 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.183e-05/0.3086, allocations: 11.98 kB / 1.243 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.3087, allocations: 11.94 kB / 1.243 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.3087, allocations: 0 / 1.243 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-06/0.3087, allocations: 4 kB / 1.243 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.3087, allocations: 4 kB / 1.243 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.3087, allocations: 15.92 kB / 1.243 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.643e-05/0.3088, allocations: 25.25 kB / 1.243 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3088, allocations: 0 / 1.243 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3088, allocations: 0 / 1.243 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.3089, allocations: 0 / 1.243 GB, free: 7.715 MB / 0.9669 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.0004488/0.3093, allocations: 343.7 kB / 1.243 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3093, allocations: 12.03 kB / 1.243 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.3094, allocations: 30.75 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.854e-05/0.3094, allocations: 0.9375 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3095, allocations: 176.3 kB / 1.244 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.3096, allocations: 384 / 1.244 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-06/0.3096, allocations: 384 / 1.244 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3097, allocations: 54.17 kB / 1.244 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3098, allocations: 3.938 kB / 1.244 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.3098, allocations: 4 kB / 1.244 GB, free: 7 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3098, allocations: 0 / 1.244 GB, free: 7 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.31, allocations: 31.97 kB / 1.244 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.3103, allocations: 240.9 kB / 1.244 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.3104, allocations: 50.47 kB / 1.244 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.252e-05/0.3105, allocations: 24.91 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3105, allocations: 0 / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.3106, allocations: 30.56 kB / 1.244 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3106, allocations: 0 / 1.244 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003506/0.3109, allocations: 85.73 kB / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.311, allocations: 51.41 kB / 1.244 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.3111, allocations: 97.84 kB / 1.244 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.3111, allocations: 29.64 kB / 1.244 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.3111, allocations: 84.14 kB / 1.244 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.3112, allocations: 7.953 kB / 1.244 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.3112, allocations: 9.719 kB / 1.244 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3114, allocations: 326.8 kB / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.3114, allocations: 16.02 kB / 1.245 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-05/0.3115, allocations: 15.98 kB / 1.245 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.3117, allocations: 36.83 kB / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3117, allocations: 3.938 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002119/0.3119, allocations: 73.67 kB / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3119, allocations: 4 kB / 1.245 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.312, allocations: 0 / 1.245 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.312, allocations: 0 / 1.245 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.842e-05/0.3121, allocations: 15.92 kB / 1.245 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3121, allocations: 0 / 1.245 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.3121, allocations: 11.98 kB / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.3121, allocations: 0 / 1.245 GB, free: 5.645 MB / 0.9669 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.276e-05/0.3122, allocations: 122.3 kB / 1.245 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.3123, allocations: 4 kB / 1.245 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.3125, allocations: 64.78 kB / 1.245 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3125, allocations: 0 / 1.245 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3125, allocations: 0 / 1.245 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3125, allocations: 0 / 1.245 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.3127, allocations: 165.6 kB / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3127, allocations: 0 / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.3128, allocations: 12.02 kB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3128, allocations: 192 / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.3128, allocations: 3.938 kB / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.3128, allocations: 4 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3128, allocations: 0 / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.3131, allocations: 167.4 kB / 1.245 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.3132, allocations: 89.03 kB / 1.245 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.3132, allocations: 0 / 1.245 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.3133, allocations: 7.984 kB / 1.245 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.3133, allocations: 4 kB / 1.245 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3133, allocations: 0 / 1.245 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.3134, allocations: 79.28 kB / 1.246 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3134, allocations: 0 / 1.246 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002194/0.3136, allocations: 4 kB / 1.246 GB, free: 4.836 MB / 0.9669 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.0005859/0.3142, allocations: 0.7045 MB / 1.246 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3144, allocations: 35.91 kB / 1.246 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3144, allocations: 4.094 kB / 1.246 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.457e-05/0.3145, allocations: 19.98 kB / 1.246 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.3148, allocations: 7.984 kB / 1.246 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.3152, allocations: 135.6 kB / 1.246 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3155, allocations: 0.6768 MB / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.181e-05/0.3155, allocations: 3.984 kB / 1.247 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.3156, allocations: 15.5 kB / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.3156, allocations: 0 / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.3356, allocations: 1.271 MB / 1.248 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.94, allocations: 8.719 kB / 1.248 GB, free: 1.949 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches