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.00172/0.00172, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00205/0.002051, allocations: 191.2 kB / 16.14 MB, free: 6.629 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.557/1.557, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.794/2.794, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002014, allocations: 79.83 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8424/0.8445, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002563/0.8471, allocations: 0.746 MB / 1.017 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.8485, allocations: 0.8079 MB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.8486, allocations: 0 / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.8486, allocations: 0 / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.739e-05/0.8487, allocations: 0 / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.8488, allocations: 11.98 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.037e-05/0.8489, allocations: 19.94 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.849, allocations: 4 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.8491, allocations: 19.91 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.8491, allocations: 3.984 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.8491, allocations: 4 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.8492, allocations: 4 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.8492, allocations: 7.875 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.8492, allocations: 8 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.994e-05/0.8493, allocations: 23.91 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8493, allocations: 0 / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8493, allocations: 0 / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.8493, allocations: 0 / 1.018 GB, free: 1.07 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.0004813/0.8498, allocations: 333.5 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.8499, allocations: 12.03 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.8499, allocations: 4.938 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.8501, allocations: 168.3 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.8501, allocations: 384 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.8501, allocations: 4.375 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.8503, allocations: 54.22 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.8503, allocations: 192 / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.8503, allocations: 3.938 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.8503, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.8505, allocations: 39.91 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.8508, allocations: 245 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.851, allocations: 38.5 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.362e-05/0.8511, allocations: 20.91 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.8511, allocations: 4 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.8511, allocations: 38.55 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.8512, allocations: 3.938 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003168/0.8515, allocations: 77.59 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.8515, allocations: 51.41 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/0.8516, allocations: 110 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.8516, allocations: 25.7 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.8517, allocations: 88.06 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.8517, allocations: 3.906 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.8518, allocations: 21.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8519, allocations: 314.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.843e-05/0.852, allocations: 11.98 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-05/0.8521, allocations: 23.98 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.8522, allocations: 44.75 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.8522, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002128/0.8525, allocations: 61.61 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.8525, allocations: 8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8525, allocations: 8.078 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.8525, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.8526, allocations: 4 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.8526, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.8527, allocations: 11.89 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.8527, allocations: 4 kB / 1.02 GB, free: 15.04 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 8.736e-05/0.8528, allocations: 113.8 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.8528, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.8531, allocations: 80.72 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.8531, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.8531, allocations: 3.984 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8531, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.8533, allocations: 157.6 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8533, allocations: 0 / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.8534, allocations: 11.98 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.8534, allocations: 0 / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.8534, allocations: 4.031 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8534, allocations: 4 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8534, allocations: 0 / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.8537, allocations: 163.4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.109e-05/0.8538, allocations: 77.11 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.8538, allocations: 7.938 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.8539, allocations: 12.02 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.854, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.854, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.854, allocations: 87.44 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.854, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002263/0.8543, allocations: 4 kB / 1.021 GB, free: 14.23 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.0001898/0.8545, allocations: 95.78 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.8547, allocations: 43.97 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8547, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.8548, allocations: 23.91 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.8552, allocations: 3.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.8556, allocations: 124.1 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.8559, allocations: 0.677 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.676e-05/0.856, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.856, allocations: 7.438 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.856, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of Templates: time 0.002999/0.859, allocations: 359 kB / 1.022 GB, free: 12.85 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