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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_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_latest_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.001333/0.001333, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001829/0.001829, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.946/2.946, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006376/0.0006378, allocations: 16.28 kB / 0.9022 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3459, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.0008749/0.3468, allocations: 388.7 kB / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009112/0.3477, allocations: 0.804 MB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.3477, allocations: 0 / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.3478, allocations: 0 / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.895e-05/0.3478, allocations: 7.984 kB / 1.059 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.348, allocations: 7.984 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.348, allocations: 19.94 kB / 1.059 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.3481, allocations: 11.98 kB / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.42e-05/0.3482, allocations: 7.938 kB / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.157e-05/0.3483, allocations: 7.984 kB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.3483, allocations: 0 / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.3483, allocations: 4 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.3483, allocations: 3.938 kB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.3483, allocations: 33.7 kB / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.136e-05/0.3484, allocations: 15.95 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3484, allocations: 0 / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3484, allocations: 0 / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.3484, allocations: 0 / 1.059 GB, free: 3.996 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.0003877/0.3488, allocations: 347.5 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3489, allocations: 12.03 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.3489, allocations: 4 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.349, allocations: 167 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.349, allocations: 4 kB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.349, allocations: 3.953 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3492, allocations: 57.61 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3492, allocations: 0 / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.3492, allocations: 0 / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3493, allocations: 0 / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.3494, allocations: 43.97 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.3497, allocations: 248.9 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3499, allocations: 46.56 kB / 1.06 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.35, allocations: 20.91 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.35, allocations: 7.938 kB / 1.06 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.35, allocations: 38.56 kB / 1.06 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3501, allocations: 0 / 1.06 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003264/0.3504, allocations: 89.64 kB / 1.06 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.3504, allocations: 59.47 kB / 1.06 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.146e-05/0.3505, allocations: 101.8 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.3505, allocations: 25.7 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.3506, allocations: 88.14 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.3506, allocations: 3.906 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.3506, allocations: 0 / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3507, allocations: 314.8 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.049e-05/0.3508, allocations: 27.98 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.3509, allocations: 19.92 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.617e-05/0.351, allocations: 27.94 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.351, allocations: 64 / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000177/0.3512, allocations: 77.66 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3512, allocations: 4 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3512, allocations: 0 / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.3512, allocations: 4 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/0.3513, allocations: 16.02 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3513, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.3514, allocations: 4 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3514, allocations: 7.984 kB / 1.061 GB, free: 1.945 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.119e-05/0.3514, allocations: 109.8 kB / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.3515, allocations: 7.906 kB / 1.061 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.3517, allocations: 84.72 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3517, allocations: 192 / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3517, allocations: 0 / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3517, allocations: 7.922 kB / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.3519, allocations: 161.7 kB / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3519, allocations: 3.953 kB / 1.061 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/0.3519, allocations: 16.03 kB / 1.061 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.352, allocations: 0 / 1.061 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.352, allocations: 0 / 1.061 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.352, allocations: 0 / 1.061 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.352, allocations: 3.984 kB / 1.061 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.3522, allocations: 179.5 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.3522, allocations: 85.05 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.3523, allocations: 0 / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.3523, allocations: 8 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.3524, allocations: 7.922 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.3524, allocations: 0 / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.3525, allocations: 87.31 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3525, allocations: 0 / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002139/0.3527, allocations: 7.938 kB / 1.062 GB, free: 1.094 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001846/0.3529, allocations: 95.25 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.3531, allocations: 51.95 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3531, allocations: 0 / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.3532, allocations: 27.92 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3535, allocations: 4 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.3538, allocations: 118.7 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3541, allocations: 0.677 MB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.3541, allocations: 0 / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.3542, allocations: 11.44 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3542, allocations: 0 / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of Templates: time 0.002511/0.3567, allocations: 349.1 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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