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.00134/0.00134, allocations: 105.5 kB / 15.99 MB, free: 6.352 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.001364/0.001364, allocations: 193 kB / 16.91 MB, free: 6.184 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.333/1.333, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.427/2.427, allocations: 437 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 68.17 kB / 0.8694 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3303, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001981/0.3323, allocations: 0.7222 MB / 1.018 GB, free: 10.27 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008574/0.3332, allocations: 0.8172 MB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.3332, allocations: 0 / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.3332, allocations: 0 / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.228e-05/0.3333, allocations: 4 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.3334, allocations: 7.938 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.102e-05/0.3335, allocations: 23.98 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.3336, allocations: 0 / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.788e-05/0.3337, allocations: 15.92 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.481e-05/0.3337, allocations: 11.94 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3337, allocations: 7.984 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.3337, allocations: 7.938 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.3338, allocations: 7.922 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.3338, allocations: 8 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.864e-05/0.3339, allocations: 23.91 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3339, allocations: 0 / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3339, allocations: 0 / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.3339, allocations: 0 / 1.019 GB, free: 9.32 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.0004332/0.3343, allocations: 335.7 kB / 1.019 GB, free: 8.941 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3344, allocations: 12.92 kB / 1.019 GB, free: 8.93 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.3344, allocations: 8.844 kB / 1.019 GB, free: 8.922 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.3345, allocations: 160.4 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.3346, allocations: 384 / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.3346, allocations: 4.375 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3347, allocations: 46.23 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.3348, allocations: 4.188 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3348, allocations: 3.938 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3348, allocations: 0 / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.335, allocations: 39.89 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.3353, allocations: 241 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3354, allocations: 46.48 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.3355, allocations: 24.91 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3355, allocations: 0 / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3355, allocations: 34.56 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3355, allocations: 0 / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003347/0.3359, allocations: 85.58 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.3359, allocations: 55.53 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.336, allocations: 105.8 kB / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.336, allocations: 25.7 kB / 1.02 GB, free: 7.914 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.3361, allocations: 84.14 kB / 1.02 GB, free: 7.828 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.3361, allocations: 3.906 kB / 1.02 GB, free: 7.824 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.3361, allocations: 13.72 kB / 1.02 GB, free: 7.805 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3363, allocations: 314.8 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.841e-05/0.3363, allocations: 15.97 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.759e-05/0.3364, allocations: 23.98 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.3366, allocations: 36.77 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3366, allocations: 0 / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001772/0.3368, allocations: 73.5 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3368, allocations: 8.094 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3368, allocations: 4 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3368, allocations: 3.938 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.3369, allocations: 7.984 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3369, allocations: 0 / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.337, allocations: 7.938 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.337, allocations: 0 / 1.021 GB, free: 7.301 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 8.903e-05/0.3371, allocations: 124.2 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.3371, allocations: 4 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.3373, allocations: 72.72 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3373, allocations: 0 / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3373, allocations: 0 / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3373, allocations: 0 / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.3375, allocations: 161.6 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3375, allocations: 0 / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.3376, allocations: 8 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3376, allocations: 4.031 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.3376, allocations: 0 / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3376, allocations: 0 / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3376, allocations: 0 / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.3378, allocations: 167.4 kB / 1.021 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.3379, allocations: 81.09 kB / 1.021 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.3379, allocations: 4.031 kB / 1.021 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.338, allocations: 4 kB / 1.021 GB, free: 6.586 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.338, allocations: 11.98 kB / 1.021 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.338, allocations: 0 / 1.021 GB, free: 6.574 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.291e-05/0.3381, allocations: 79.28 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3381, allocations: 0 / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002075/0.3383, allocations: 7.938 kB / 1.022 GB, free: 6.488 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.0001225/0.3384, allocations: 95.25 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.3386, allocations: 43.95 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3386, allocations: 0 / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.3387, allocations: 19.92 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.339, allocations: 10.59 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.3393, allocations: 155 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.3395, allocations: 0.6768 MB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.3396, allocations: 11.44 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of SimCode: time 2.394e-06/0.3396, allocations: 0 / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of Templates: time 0.001791/0.3414, allocations: 0.5519 MB / 1.023 GB, free: 4.875 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=480 -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