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.001512/0.001512, allocations: 102.3 kB / 16.35 MB, free: 6.289 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.001682/0.001682, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.656/2.656, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 75.95 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3569, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002316/0.3593, allocations: 0.6688 MB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009716/0.3603, allocations: 0.818 MB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.3604, allocations: 0 / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.3604, allocations: 0 / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.737e-05/0.3605, allocations: 3.938 kB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.3607, allocations: 11.98 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.887e-05/0.3608, allocations: 23.92 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3609, allocations: 11.98 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.361, allocations: 7.938 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.361, allocations: 11.98 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.361, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.3611, allocations: 7.938 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.3611, allocations: 4 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.3611, allocations: 3.938 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.474e-05/0.3612, allocations: 27.95 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3612, allocations: 7.938 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3612, allocations: 0 / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3612, allocations: 0 / 1.028 GB, free: 456 kB / 0.795 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.0004531/0.3617, allocations: 331.5 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3617, allocations: 8.031 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.3618, allocations: 16.83 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3619, allocations: 160.4 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3619, allocations: 384 / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.3619, allocations: 8.375 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.3621, allocations: 50.17 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.3621, allocations: 4.188 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3621, allocations: 3.938 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3622, allocations: 0 / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.3623, allocations: 27.97 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.3627, allocations: 256.9 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.3628, allocations: 42.5 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.027e-05/0.3629, allocations: 20.84 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.3629, allocations: 3.984 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.363, allocations: 34.56 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.363, allocations: 4 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003275/0.3633, allocations: 77.59 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.3633, allocations: 55.39 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.814e-05/0.3634, allocations: 101.9 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.3635, allocations: 25.7 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.3635, allocations: 84.14 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.3635, allocations: 4.031 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.3636, allocations: 21.7 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3637, allocations: 310.8 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.3638, allocations: 15.98 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.3639, allocations: 15.98 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.364, allocations: 44.88 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.364, allocations: 0 / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001777/0.3642, allocations: 73.45 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3642, allocations: 7.984 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3642, allocations: 4 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3643, allocations: 192 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.3644, allocations: 4 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3644, allocations: 3.984 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.3644, allocations: 12.02 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.3644, allocations: 3.984 kB / 1.03 GB, free: 14.42 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 7.227e-05/0.3645, allocations: 117.7 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.3645, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.3648, allocations: 80.7 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3648, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.3648, allocations: 4.031 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3648, allocations: 3.938 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.365, allocations: 157.6 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.365, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.3651, allocations: 11.98 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3651, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3651, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3651, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3651, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.3653, allocations: 167.5 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.3654, allocations: 84.95 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.3654, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.3655, allocations: 7.984 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.3655, allocations: 7.938 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.3655, allocations: 4 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.018e-05/0.3656, allocations: 91.3 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3656, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002093/0.3658, allocations: 7.938 kB / 1.031 GB, free: 13.58 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.000162/0.366, allocations: 95.25 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.3662, allocations: 31.97 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3662, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.3663, allocations: 28.03 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.3666, allocations: 7.938 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.3669, allocations: 110.1 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.3672, allocations: 0.6768 MB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.099e-05/0.3672, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.3672, allocations: 7.438 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.3672, allocations: 64 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of Templates: time 0.002465/0.3697, allocations: 439.3 kB / 1.032 GB, free: 12.14 MB / 0.8106 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 -s cvode -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/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