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.001214/0.001214, allocations: 92.39 kB / 16.02 MB, free: 80 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.001652/0.001653, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.725/2.725, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003436, allocations: 16.62 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3131, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.0009133/0.3141, allocations: 404.5 kB / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009558/0.315, allocations: 0.8079 MB / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.3151, allocations: 0 / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.3151, allocations: 0 / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.3152, allocations: 3.938 kB / 1.061 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.3153, allocations: 7.984 kB / 1.061 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.16e-05/0.3154, allocations: 23.92 kB / 1.061 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.3155, allocations: 11.98 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.328e-05/0.3155, allocations: 7.938 kB / 1.061 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.3156, allocations: 7.984 kB / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3156, allocations: 0 / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.3156, allocations: 4 kB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.3156, allocations: 7.938 kB / 1.061 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.3157, allocations: 25.7 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.304e-05/0.3157, allocations: 23.95 kB / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3157, allocations: 0 / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3158, allocations: 3.938 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.3158, allocations: 4 kB / 1.061 GB, free: 3.602 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.0004007/0.3162, allocations: 331.7 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3162, allocations: 19.95 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.3162, allocations: 0.9375 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.3164, allocations: 164.3 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3164, allocations: 4.375 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.3164, allocations: 4.375 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3166, allocations: 62.16 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-06/0.3166, allocations: 192 / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3166, allocations: 7.938 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3166, allocations: 0 / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.3168, allocations: 47.95 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.3171, allocations: 248.9 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.3173, allocations: 46.5 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.869e-05/0.3174, allocations: 28.89 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3174, allocations: 3.938 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.3174, allocations: 34.56 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3175, allocations: 0 / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003725/0.3178, allocations: 97.64 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3179, allocations: 51.41 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.318, allocations: 101.9 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.318, allocations: 25.83 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.318, allocations: 84.14 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.3181, allocations: 7.891 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.3181, allocations: 13.72 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3182, allocations: 314.8 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.3183, allocations: 19.92 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-05/0.3184, allocations: 27.98 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.3186, allocations: 48.81 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3186, allocations: 0 / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002175/0.3188, allocations: 77.67 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3188, allocations: 9.234 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3189, allocations: 0 / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3189, allocations: 4 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.319, allocations: 12.03 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.319, allocations: 3.938 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.319, allocations: 7.984 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3191, allocations: 0 / 1.062 GB, free: 1.504 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 6.362e-05/0.3191, allocations: 121.7 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.3192, allocations: 3.906 kB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.3194, allocations: 84.78 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3194, allocations: 3.984 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3194, allocations: 0 / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3194, allocations: 0 / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.3196, allocations: 161.6 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3196, allocations: 0 / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-05/0.3197, allocations: 16.02 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3197, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.3197, allocations: 4 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3197, allocations: 0 / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3197, allocations: 0 / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.32, allocations: 179.4 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.32, allocations: 77.11 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.32, allocations: 4 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.931e-05/0.3201, allocations: 11.92 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.3202, allocations: 4 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3202, allocations: 0 / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.642e-05/0.3202, allocations: 91.47 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3202, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002194/0.3204, allocations: 7.938 kB / 1.063 GB, free: 0.6523 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.000138/0.3206, allocations: 95.25 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.3208, allocations: 55.91 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3208, allocations: 0 / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.416e-05/0.3209, allocations: 23.97 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.3212, allocations: 7.938 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.3215, allocations: 144.6 kB / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.3218, allocations: 0.677 MB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.3218, allocations: 15.44 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3218, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.001774/0.3236, allocations: 0.5299 MB / 1.065 GB, free: 15.05 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/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