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.001267/0.001267, allocations: 103.9 kB / 15.98 MB, free: 6.355 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.001237/0.001237, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.522/2.522, allocations: 437.1 MB / 0.7107 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.75 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2928, allocations: 151.6 MB / 1.018 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002075/0.2949, allocations: 0.7222 MB / 1.018 GB, free: 10.25 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009704/0.2959, allocations: 0.8118 MB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.2959, allocations: 4 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.296, allocations: 0 / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.2961, allocations: 3.938 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.2962, allocations: 11.97 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.834e-05/0.2963, allocations: 23.94 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.2964, allocations: 3.984 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.2964, allocations: 11.94 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.501e-05/0.2965, allocations: 11.98 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.2965, allocations: 4 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.2965, allocations: 4 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.2965, allocations: 3.938 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.2965, allocations: 8 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.121e-05/0.2966, allocations: 23.95 kB / 1.019 GB, free: 9.312 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2966, allocations: 3.938 kB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2966, allocations: 0 / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.2966, allocations: 0 / 1.019 GB, free: 9.309 MB / 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.0004583/0.2971, allocations: 339.7 kB / 1.019 GB, free: 8.926 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2971, allocations: 12.92 kB / 1.019 GB, free: 8.914 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.2972, allocations: 4.844 kB / 1.019 GB, free: 8.91 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.2973, allocations: 168.4 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.2973, allocations: 384 / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.2973, allocations: 4.375 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.2975, allocations: 55.69 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2975, allocations: 192 / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2976, allocations: 3.938 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2976, allocations: 0 / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.2977, allocations: 31.97 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.2981, allocations: 249 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.2982, allocations: 38.5 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/0.2983, allocations: 24.91 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.2983, allocations: 3.938 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.2984, allocations: 34.55 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2984, allocations: 4 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003243/0.2987, allocations: 73.66 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.2988, allocations: 55.53 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.2989, allocations: 101.8 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2989, allocations: 25.7 kB / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.2989, allocations: 84.14 kB / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.299, allocations: 7.844 kB / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.299, allocations: 17.7 kB / 1.02 GB, free: 7.789 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2991, allocations: 314.8 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.333e-05/0.2992, allocations: 11.98 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.24e-05/0.2993, allocations: 27.92 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.2995, allocations: 36.81 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2995, allocations: 4 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.2997, allocations: 65.52 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2997, allocations: 12.09 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2997, allocations: 3.984 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2997, allocations: 0 / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.2998, allocations: 7.938 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.2998, allocations: 0 / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.2999, allocations: 7.984 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2999, allocations: 0 / 1.021 GB, free: 7.289 MB / 0.795 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.956e-05/0.3, allocations: 122.4 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.3, allocations: 4 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.3002, allocations: 68.78 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3002, allocations: 0 / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3003, allocations: 7.984 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3003, allocations: 0 / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.3004, allocations: 157.6 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3004, allocations: 0 / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.548e-05/0.3005, allocations: 11.98 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3005, allocations: 4.031 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3005, allocations: 0 / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3005, allocations: 0 / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3005, allocations: 0 / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.3008, allocations: 167.4 kB / 1.021 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.3009, allocations: 77.11 kB / 1.021 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3009, allocations: 8.219 kB / 1.021 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.301, allocations: 3.984 kB / 1.021 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.301, allocations: 11.98 kB / 1.021 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.301, allocations: 0 / 1.021 GB, free: 6.559 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.3011, allocations: 79.28 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3011, allocations: 0 / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002122/0.3013, allocations: 7.938 kB / 1.022 GB, free: 6.473 MB / 0.795 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.0001474/0.3014, allocations: 99.77 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3016, allocations: 43.91 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3017, allocations: 0 / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.3017, allocations: 23.97 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.302, allocations: 7.875 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.3023, allocations: 150 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.3027, allocations: 0.6768 MB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.3027, allocations: 11.44 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3027, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of Templates: time 0.001917/0.3046, allocations: 0.5355 MB / 1.023 GB, free: 4.871 MB / 0.795 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/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