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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001197/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001211/0.001211, allocations: 192.2 kB / 16.14 MB, free: 6.719 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7342 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 73 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3043, allocations: 157.4 MB / 1.052 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001957/0.3062, allocations: 0.7301 MB / 1.053 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009898/0.3073, allocations: 0.8157 MB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.3073, allocations: 0 / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.3074, allocations: 0 / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.256e-05/0.3074, allocations: 3.938 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.3076, allocations: 8 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.471e-05/0.3077, allocations: 27.86 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.3078, allocations: 7.984 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.3078, allocations: 15.98 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.84e-05/0.3079, allocations: 7.875 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3079, allocations: 4 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.3079, allocations: 0 / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.308, allocations: 7.984 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.308, allocations: 7.938 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.725e-05/0.3081, allocations: 15.97 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3081, allocations: 0 / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3081, allocations: 0 / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.3081, allocations: 0 / 1.054 GB, free: 6.477 MB / 0.8106 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.0004364/0.3085, allocations: 339.8 kB / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3086, allocations: 15.97 kB / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.3086, allocations: 34.69 kB / 1.054 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.3087, allocations: 4.844 kB / 1.054 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3088, allocations: 168.4 kB / 1.054 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3088, allocations: 4.375 kB / 1.054 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.3088, allocations: 4.312 kB / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.309, allocations: 54.22 kB / 1.054 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.309, allocations: 7.938 kB / 1.054 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3091, allocations: 0 / 1.054 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.3091, allocations: 0 / 1.054 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.3092, allocations: 31.97 kB / 1.054 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.3096, allocations: 249 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.3097, allocations: 46.44 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.3098, allocations: 16.91 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3098, allocations: 4 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.3099, allocations: 30.56 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.3099, allocations: 0 / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003436/0.3102, allocations: 85.64 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.3103, allocations: 51.41 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.3104, allocations: 105.8 kB / 1.055 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3104, allocations: 25.7 kB / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.3104, allocations: 80.14 kB / 1.055 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.3105, allocations: 11.91 kB / 1.055 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.3105, allocations: 9.719 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.3106, allocations: 323 kB / 1.055 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.3107, allocations: 15.98 kB / 1.055 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.816e-05/0.3108, allocations: 11.98 kB / 1.055 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.3109, allocations: 40.81 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3109, allocations: 3.938 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001837/0.3111, allocations: 73.64 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3111, allocations: 4 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3111, allocations: 0 / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3112, allocations: 7.875 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.3112, allocations: 11.98 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3113, allocations: 0 / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.3113, allocations: 7.984 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3113, allocations: 0 / 1.056 GB, free: 4.398 MB / 0.8106 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.778e-05/0.3114, allocations: 117.8 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.3114, allocations: 4 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.3116, allocations: 68.78 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3117, allocations: 4 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3117, allocations: 0 / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3117, allocations: 0 / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.3118, allocations: 165.6 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3119, allocations: 4 kB / 1.056 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.3119, allocations: 11.92 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3119, allocations: 0 / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3119, allocations: 0 / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3119, allocations: 0 / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.312, allocations: 4 kB / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.3122, allocations: 163.5 kB / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.3122, allocations: 88.95 kB / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3123, allocations: 0 / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.3123, allocations: 7.984 kB / 1.056 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.3124, allocations: 0 / 1.056 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3124, allocations: 0 / 1.056 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.879e-05/0.3124, allocations: 83.45 kB / 1.056 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3124, allocations: 0 / 1.056 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000209/0.3127, allocations: 8 kB / 1.056 GB, free: 3.586 MB / 0.8106 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.0005076/0.3132, allocations: 0.7068 MB / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.3134, allocations: 36 kB / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3134, allocations: 0 / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.094e-05/0.3135, allocations: 19.97 kB / 1.057 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.3137, allocations: 4 kB / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.3141, allocations: 141.6 kB / 1.057 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.3143, allocations: 0.6811 MB / 1.058 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.341e-05/0.3144, allocations: 4 kB / 1.058 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.3144, allocations: 7.438 kB / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3144, allocations: 0 / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009886/0.3243, allocations: 1.073 MB / 1.059 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.3245, allocations: 199 kB / 1.059 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.918, allocations: 4 kB / 1.059 GB, free: 0.6641 MB / 0.8106 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=50 --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