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.00675/0.00675, allocations: 97.56 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.001519/0.001519, allocations: 201.6 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 2.162/2.162, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 4.163/4.163, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5031/0.5052, allocations: 151.6 MB / 1.166 GB, free: 7.219 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.003077/0.5083, allocations: 0.6576 MB / 1.167 GB, free: 6.562 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.5101, allocations: 0.8238 MB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.5102, allocations: 4 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.5103, allocations: 0 / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.586e-05/0.5104, allocations: 3.938 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.5106, allocations: 7.984 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.5107, allocations: 31.91 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.5109, allocations: 0 / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.511, allocations: 11.98 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.5111, allocations: 15.94 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.5111, allocations: 0 / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.5111, allocations: 4 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.5112, allocations: 3.984 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.5112, allocations: 11.94 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.5114, allocations: 23.89 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5114, allocations: 3.938 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.554e-06/0.5114, allocations: 0 / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.5114, allocations: 0 / 1.168 GB, free: 5.605 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.0007648/0.5122, allocations: 347.6 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.5123, allocations: 12.03 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.832e-05/0.5124, allocations: 34.75 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.5124, allocations: 0.9375 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.5127, allocations: 172.3 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.5127, allocations: 384 / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.5127, allocations: 384 / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.513, allocations: 50.23 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.5131, allocations: 3.938 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5131, allocations: 0 / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.5131, allocations: 4 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.5135, allocations: 35.91 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.514, allocations: 249 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.5143, allocations: 34.5 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.5145, allocations: 24.91 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.5145, allocations: 4 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.5146, allocations: 30.56 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/0.5146, allocations: 0 / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0006168/0.5152, allocations: 85.58 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.5153, allocations: 55.53 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.5155, allocations: 101.8 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.5155, allocations: 25.7 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.5156, allocations: 80.14 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.5157, allocations: 7.953 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.5157, allocations: 13.72 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002302/0.516, allocations: 318.8 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.5161, allocations: 23.92 kB / 1.169 GB, free: 3.699 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.5163, allocations: 11.98 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.5166, allocations: 44.75 kB / 1.169 GB, free: 3.641 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.5166, allocations: 3.938 kB / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003529/0.517, allocations: 69.69 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.517, allocations: 4 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.517, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.5171, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.5172, allocations: 12.17 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.5173, allocations: 0 / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/0.5174, allocations: 7.984 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.5174, allocations: 4 kB / 1.17 GB, free: 3.535 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 0.0001565/0.5176, allocations: 109.8 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.5176, allocations: 12.02 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.5181, allocations: 72.72 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5181, allocations: 0 / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5181, allocations: 3.938 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.5181, allocations: 3.984 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.5185, allocations: 161.5 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5185, allocations: 4 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.5186, allocations: 12.02 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5186, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.5186, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.5186, allocations: 4 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5186, allocations: 4 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.5191, allocations: 159.4 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.5192, allocations: 93.09 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.5192, allocations: 0 / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.5194, allocations: 7.984 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.5194, allocations: 0 / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.5195, allocations: 0 / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.5196, allocations: 79.28 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5196, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004226/0.52, allocations: 4 kB / 1.17 GB, free: 2.719 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.001045/0.5211, allocations: 0.7007 MB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003834/0.5215, allocations: 39.91 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.5215, allocations: 8.031 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.5217, allocations: 15.98 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.5222, allocations: 7.984 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007251/0.5229, allocations: 135.7 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.5234, allocations: 0.6768 MB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.5235, allocations: 0 / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.5235, allocations: 11.5 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of SimCode: time 9.22e-07/0.5236, allocations: 0 / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03863/0.5622, allocations: 1.272 MB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.13, allocations: 0 / 1.173 GB, free: 15.84 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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