Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_10_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.005524/0.005524, allocations: 99.66 kB / 15.73 MB, free: 6.035 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.001378/0.001378, allocations: 195.1 kB / 16.67 MB, free: 5.965 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.399/1.399, 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 10.1.1-maint.10.0.x/package.mo): time 2.758/2.758, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3032, allocations: 151.6 MB / 1.166 GB, free: 7.434 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001845/0.305, allocations: 0.6657 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.3059, allocations: 0.8082 MB / 1.168 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.306, allocations: 0 / 1.168 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.306, allocations: 7.922 kB / 1.168 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.547e-05/0.3061, allocations: 4 kB / 1.168 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.3062, allocations: 11.88 kB / 1.168 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.686e-05/0.3063, allocations: 27.98 kB / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.602e-05/0.3064, allocations: 0 / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.111e-05/0.3065, allocations: 11.98 kB / 1.168 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.846e-05/0.3065, allocations: 19.86 kB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.3065, allocations: 0 / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-06/0.3066, allocations: 4 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.3066, allocations: 3.984 kB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.3066, allocations: 11.94 kB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 7.163e-05/0.3067, allocations: 23.91 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3067, allocations: 0 / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3067, allocations: 4 kB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3067, allocations: 0 / 1.168 GB, free: 5.82 MB / 0.92 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.0003817/0.3071, allocations: 334.3 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3071, allocations: 12.03 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.3072, allocations: 38.67 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.3072, allocations: 0.9375 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.857e-05/0.3073, allocations: 164.4 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.3073, allocations: 384 / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.3073, allocations: 4.375 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.3075, allocations: 50.23 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.3075, allocations: 7.875 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3075, allocations: 4 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3075, allocations: 0 / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.3077, allocations: 35.95 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.308, allocations: 245 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3081, allocations: 38.5 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.3082, allocations: 20.89 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3083, allocations: 4 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.3083, allocations: 34.5 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.3083, allocations: 0 / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003262/0.3086, allocations: 89.55 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.3087, allocations: 51.41 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.415e-05/0.3087, allocations: 97.86 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3088, allocations: 25.7 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.3088, allocations: 80.14 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3088, allocations: 12.45 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.3089, allocations: 17.84 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.3089, allocations: 310.8 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.309, allocations: 19.98 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.3091, allocations: 15.92 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3093, allocations: 44.88 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3093, allocations: 3.938 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001828/0.3095, allocations: 69.59 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3095, allocations: 4 kB / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3095, allocations: 192 / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3095, allocations: 0 / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.3096, allocations: 12 kB / 1.17 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3096, allocations: 4 kB / 1.17 GB, free: 3.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/0.3097, allocations: 16.28 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.3097, allocations: 0 / 1.17 GB, free: 3.758 MB / 0.92 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.999e-05/0.3098, allocations: 117.7 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.3098, allocations: 4 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.31, allocations: 72.77 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.31, allocations: 0 / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.31, allocations: 0 / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.31, allocations: 4.031 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.3102, allocations: 165.5 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3102, allocations: 4 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.3103, allocations: 7.984 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3103, allocations: 0 / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3103, allocations: 0 / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3103, allocations: 0 / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3103, allocations: 4 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.3105, allocations: 171.3 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.3105, allocations: 81.11 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.3106, allocations: 0 / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.3106, allocations: 7.984 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.3107, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3107, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.147e-05/0.3107, allocations: 83.27 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3107, allocations: 4.031 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002184/0.311, allocations: 8 kB / 1.17 GB, free: 2.938 MB / 0.92 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.0004886/0.3115, allocations: 0.6967 MB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.3116, allocations: 36 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3117, allocations: 0 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.808e-05/0.3117, allocations: 19.97 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.312, allocations: 11.98 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.3125, allocations: 139.8 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3128, allocations: 0.6883 MB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.3128, allocations: 0 / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.3128, allocations: 7.438 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.3128, allocations: 0 / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.3299, allocations: 1.261 MB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.824, allocations: 5.938 kB / 1.173 GB, free: 64 kB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches