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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 194 kB / 16.53 MB, free: 6.664 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.507/1.507, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.847/2.847, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 75.88 kB / 0.8693 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8059, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002531/0.8085, allocations: 0.6552 MB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.8098, allocations: 0.8117 MB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.8099, allocations: 4 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.81, allocations: 0 / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.258e-05/0.8101, allocations: 3.938 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.8103, allocations: 7.984 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.639e-05/0.8104, allocations: 27.92 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.8105, allocations: 3.984 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.8106, allocations: 11.94 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.8107, allocations: 15.98 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.8107, allocations: 4 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.8107, allocations: 0 / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.8107, allocations: 3.938 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.8108, allocations: 11.98 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.8109, allocations: 23.91 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.8109, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8109, allocations: 3.938 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.8109, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.7637 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.0005819/0.8115, allocations: 337.4 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.8116, allocations: 12.03 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.8116, allocations: 0.9375 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.8118, allocations: 172.3 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.8118, allocations: 8.375 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.8118, allocations: 384 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.812, allocations: 54.17 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.8121, allocations: 192 / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.8121, allocations: 3.938 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.8121, allocations: 4 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.8123, allocations: 35.95 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.8128, allocations: 240.9 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.8129, allocations: 46.47 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.813, allocations: 20.91 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.8131, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.8131, allocations: 38.5 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.8131, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004114/0.8135, allocations: 77.64 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.8136, allocations: 59.53 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.8137, allocations: 101.8 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.8137, allocations: 25.7 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.8138, allocations: 84.08 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.8138, allocations: 15.84 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.8139, allocations: 9.719 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.814, allocations: 310.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.8141, allocations: 27.97 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.022e-05/0.8142, allocations: 15.98 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.8144, allocations: 36.83 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8144, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002123/0.8146, allocations: 73.66 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.8146, allocations: 8 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8146, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.8147, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.8148, allocations: 15.92 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.8148, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.8149, allocations: 3.984 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.8149, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 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.0001019/0.815, allocations: 109.8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.815, allocations: 7.938 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.8153, allocations: 72.78 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.8153, allocations: 3.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8153, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.8153, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.8155, allocations: 161.6 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8155, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.8155, allocations: 12.03 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8156, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.8156, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.8156, allocations: 3.938 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8156, allocations: 3.984 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.8159, allocations: 159.5 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.8159, allocations: 89.25 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.816, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.816, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.8161, allocations: 7.969 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.8161, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001033/0.8162, allocations: 83.28 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.8162, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002128/0.8164, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 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.0001699/0.8166, allocations: 99.25 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.8168, allocations: 43.89 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.8169, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.275e-05/0.8169, allocations: 19.98 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.8172, allocations: 3.938 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.8176, allocations: 118.2 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.8179, allocations: 0.6768 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.294e-05/0.818, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.818, allocations: 11.44 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.818, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of Templates: time 0.002912/0.8209, allocations: 441.4 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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