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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006749/0.006749, allocations: 99.52 kB / 15.73 MB, free: 6.043 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.001322/0.001322, allocations: 201.8 kB / 16.68 MB, free: 5.961 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.381/1.381, 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 11.0.1-master/package.mo): time 2.81/2.81, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 1.054 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3624, allocations: 157.4 MB / 1.207 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001934/0.3644, allocations: 0.6614 MB / 1.208 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000993/0.3654, allocations: 0.804 MB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.3655, allocations: 4 kB / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.3655, allocations: 3.938 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.3656, allocations: 0 / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.3657, allocations: 15.91 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.3658, allocations: 23.94 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.3659, allocations: 7.984 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.48e-05/0.366, allocations: 15.88 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.366, allocations: 11.98 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3661, allocations: 0 / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-06/0.3661, allocations: 4 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.3661, allocations: 3.938 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.3661, allocations: 8 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.861e-05/0.3662, allocations: 23.89 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3662, allocations: 3.984 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3662, allocations: 4 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3662, allocations: 0 / 1.209 GB, free: 8.418 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.0004668/0.3667, allocations: 339.7 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3668, allocations: 12.62 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.3668, allocations: 30.75 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.3668, allocations: 4.938 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.367, allocations: 164.4 kB / 1.209 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.367, allocations: 384 / 1.209 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.367, allocations: 384 / 1.209 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3672, allocations: 58.17 kB / 1.209 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3672, allocations: 7.922 kB / 1.209 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3672, allocations: 0 / 1.209 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3672, allocations: 3.938 kB / 1.209 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.3674, allocations: 35.95 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.3677, allocations: 244.9 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3679, allocations: 42.5 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.987e-05/0.368, allocations: 24.83 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.368, allocations: 4 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.368, allocations: 34.56 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3681, allocations: 0 / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003788/0.3684, allocations: 81.64 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.3685, allocations: 51.41 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/0.3686, allocations: 97.86 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3686, allocations: 25.7 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.3686, allocations: 84.12 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.3686, allocations: 11.91 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.3687, allocations: 13.84 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3688, allocations: 314.8 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.3689, allocations: 19.92 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.12e-05/0.369, allocations: 15.97 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3691, allocations: 40.89 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3691, allocations: 7.938 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001896/0.3693, allocations: 69.59 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3694, allocations: 5.719 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3694, allocations: 0 / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3694, allocations: 0 / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3695, allocations: 11.98 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3695, allocations: 0 / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.3696, allocations: 11.97 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.3696, allocations: 0 / 1.211 GB, free: 6.352 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 7.426e-05/0.3696, allocations: 109.8 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.3697, allocations: 7.984 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.3699, allocations: 68.78 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3699, allocations: 0 / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3699, allocations: 0 / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3699, allocations: 4.031 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.3701, allocations: 165.5 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3701, allocations: 0 / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.3702, allocations: 15.92 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3702, allocations: 0 / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.3702, allocations: 0 / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3702, allocations: 4 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3702, allocations: 0 / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.3704, allocations: 171.4 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.3705, allocations: 81.05 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.3705, allocations: 0 / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.3706, allocations: 7.984 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.3706, allocations: 0 / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.3706, allocations: 0 / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.074e-05/0.3707, allocations: 87.27 kB / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3707, allocations: 4.031 kB / 1.211 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002107/0.3709, allocations: 4 kB / 1.211 GB, free: 5.539 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.0005547/0.3714, allocations: 0.6967 MB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.3717, allocations: 39.98 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3717, allocations: 0 / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.381e-05/0.3718, allocations: 19.98 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.3721, allocations: 4.328 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.3725, allocations: 151.5 kB / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.3728, allocations: 0.6808 MB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.383e-05/0.3728, allocations: 0 / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.3728, allocations: 15.38 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3729, allocations: 0 / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.3897, allocations: 1.289 MB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.398/7.788, allocations: 10.61 kB / 1.214 GB, free: 2.629 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 & /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