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.001086/0.001086, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001285/0.001285, allocations: 194.7 kB / 16.26 MB, free: 6.625 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7343 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 68.27 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4196, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002732/0.4224, allocations: 0.7361 MB / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.4239, allocations: 0.8157 MB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.4239, allocations: 0 / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.103e-05/0.424, allocations: 0 / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.927e-05/0.4242, allocations: 3.984 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.4244, allocations: 11.94 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.4246, allocations: 23.98 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.4247, allocations: 4 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.4249, allocations: 15.88 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.4249, allocations: 3.984 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.4249, allocations: 7.938 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-06/0.425, allocations: 0 / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.425, allocations: 11.94 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.425, allocations: 15.91 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.771e-05/0.4251, allocations: 15.97 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4251, allocations: 0 / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4252, allocations: 4 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.4252, allocations: 0 / 1.054 GB, free: 6.93 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.0006255/0.4258, allocations: 339.8 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.4259, allocations: 8.625 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.291e-05/0.4259, allocations: 30.75 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.426, allocations: 8.844 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.4261, allocations: 160.4 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.4262, allocations: 4.359 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.4262, allocations: 8.375 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.4264, allocations: 42.25 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4264, allocations: 11.86 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4265, allocations: 7.938 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4265, allocations: 0 / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.4266, allocations: 31.95 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.4271, allocations: 248.9 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.4273, allocations: 38.53 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.4274, allocations: 24.91 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.4274, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.4274, allocations: 34.5 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4274, allocations: 4 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003739/0.4278, allocations: 81.64 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.4279, allocations: 51.41 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.428, allocations: 105.8 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.428, allocations: 25.7 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.428, allocations: 80.14 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.4281, allocations: 8.031 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.4281, allocations: 17.72 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4282, allocations: 310.8 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.4283, allocations: 15.97 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/0.4284, allocations: 23.92 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.4285, allocations: 36.89 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4286, allocations: 7.938 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.4287, allocations: 69.56 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.4288, allocations: 4 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4288, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4288, allocations: 4 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.465e-05/0.4289, allocations: 7.984 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4289, allocations: 4.031 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.429, allocations: 11.92 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.429, allocations: 0 / 1.056 GB, free: 4.863 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 8.836e-05/0.4291, allocations: 117.8 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.4291, allocations: 3.938 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.4293, allocations: 68.78 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4294, allocations: 8.031 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4294, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4294, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.4296, allocations: 165.5 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4296, allocations: 0 / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.4296, allocations: 8 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4296, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.4297, allocations: 3.984 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4297, allocations: 0 / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4297, allocations: 0 / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.4299, allocations: 167.4 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.43, allocations: 84.95 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.43, allocations: 4 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.4301, allocations: 4 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.4301, allocations: 7.984 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.4301, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.847e-05/0.4302, allocations: 83.31 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4302, allocations: 0 / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002144/0.4304, allocations: 4 kB / 1.057 GB, free: 4.051 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.0007113/0.4311, allocations: 0.6968 MB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.4314, allocations: 39.95 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4314, allocations: 0 / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.4315, allocations: 15.98 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.4319, allocations: 4.328 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.4325, allocations: 147.9 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.4328, allocations: 0.6767 MB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.199e-05/0.4329, allocations: 3.984 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.4329, allocations: 7.438 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.4329, allocations: 4 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.4455, allocations: 1.119 MB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.4458, allocations: 207.2 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.279, allocations: 4 kB / 1.059 GB, free: 1.098 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