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.001665/0.001665, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 192.8 kB / 16.66 MB, free: 6.613 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.803/2.803, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 75.88 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.296, allocations: 162.3 MB / 1.242 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001669/0.2977, allocations: 0.6659 MB / 1.243 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00085/0.2985, allocations: 0.8039 MB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.2986, allocations: 0 / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.2986, allocations: 0 / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.45e-05/0.2987, allocations: 7.938 kB / 1.243 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.2988, allocations: 15.97 kB / 1.243 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.2989, allocations: 23.92 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.299, allocations: 4 kB / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.645e-05/0.299, allocations: 15.92 kB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.301e-05/0.2991, allocations: 4 kB / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.2991, allocations: 4 kB / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-06/0.2991, allocations: 0 / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.2991, allocations: 11.92 kB / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.2991, allocations: 8 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.11e-05/0.2992, allocations: 23.89 kB / 1.243 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2992, allocations: 0 / 1.243 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2992, allocations: 4 kB / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2992, allocations: 0 / 1.243 GB, free: 8.16 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.0004248/0.2997, allocations: 335.5 kB / 1.244 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2997, allocations: 8.031 kB / 1.244 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.2997, allocations: 34.75 kB / 1.244 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.971e-05/0.2998, allocations: 4.938 kB / 1.244 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.2999, allocations: 180.2 kB / 1.244 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-06/0.2999, allocations: 384 / 1.244 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.2999, allocations: 4.375 kB / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3001, allocations: 46.23 kB / 1.244 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3001, allocations: 15.81 kB / 1.244 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.3001, allocations: 0 / 1.244 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3001, allocations: 0 / 1.244 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.3003, allocations: 27.97 kB / 1.244 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.3006, allocations: 249 kB / 1.244 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.3007, allocations: 46.44 kB / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.3008, allocations: 20.91 kB / 1.244 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.3008, allocations: 4 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3009, allocations: 34.56 kB / 1.244 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3009, allocations: 0 / 1.244 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003225/0.3012, allocations: 81.58 kB / 1.245 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.3012, allocations: 51.41 kB / 1.245 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.3013, allocations: 105.8 kB / 1.245 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3013, allocations: 25.7 kB / 1.245 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.3014, allocations: 88.27 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.3014, allocations: 3.953 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.3014, allocations: 13.72 kB / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3016, allocations: 314.8 kB / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.3017, allocations: 15.98 kB / 1.245 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/0.3017, allocations: 15.98 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3019, allocations: 44.88 kB / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3019, allocations: 3.938 kB / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001827/0.3021, allocations: 69.56 kB / 1.245 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.3021, allocations: 4 kB / 1.245 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3021, allocations: 4 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3021, allocations: 0 / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.3022, allocations: 12.02 kB / 1.245 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3022, allocations: 3.984 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.3023, allocations: 7.984 kB / 1.245 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.3023, allocations: 0 / 1.245 GB, free: 6.086 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 7.076e-05/0.3024, allocations: 113.8 kB / 1.245 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.3024, allocations: 0 / 1.245 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.3026, allocations: 76.97 kB / 1.245 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3026, allocations: 0 / 1.245 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.3027, allocations: 7.922 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3027, allocations: 0 / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.3028, allocations: 165.5 kB / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3028, allocations: 0 / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.3029, allocations: 11.98 kB / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3029, allocations: 0 / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.3029, allocations: 0 / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3029, allocations: 0 / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3029, allocations: 3.938 kB / 1.246 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.3032, allocations: 167.5 kB / 1.246 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.3032, allocations: 81.06 kB / 1.246 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.3032, allocations: 0 / 1.246 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.3033, allocations: 7.984 kB / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.3033, allocations: 4 kB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3033, allocations: 4.031 kB / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.134e-05/0.3034, allocations: 83.28 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.843e-06/0.3034, allocations: 0 / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002058/0.3036, allocations: 7.938 kB / 1.246 GB, free: 5.266 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.0005571/0.3042, allocations: 0.6973 MB / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.3044, allocations: 31.97 kB / 1.247 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3044, allocations: 4 kB / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.3045, allocations: 19.92 kB / 1.247 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3047, allocations: 13.23 kB / 1.247 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.3051, allocations: 143.6 kB / 1.247 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.3054, allocations: 0.6768 MB / 1.248 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.3054, allocations: 0 / 1.248 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.3054, allocations: 15.44 kB / 1.248 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.3055, allocations: 0 / 1.248 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.038/1.344, allocations: 1.269 MB / 1.249 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/12.55, allocations: 11.92 kB / 1.249 GB, free: 2.375 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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