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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001048/0.001048, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001525/0.001525, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 223.3 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003927, allocations: 19.94 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8368/0.8372, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001044/0.8383, allocations: 390.3 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009346/0.8392, allocations: 0.8041 MB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.8393, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.083e-05/0.8393, allocations: 3.938 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.8394, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.8395, allocations: 11.98 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.327e-05/0.8396, allocations: 23.92 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.464e-05/0.8396, allocations: 3.938 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.095e-05/0.8397, allocations: 11.92 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.804e-05/0.8397, allocations: 8 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.8398, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.8398, allocations: 4 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.8398, allocations: 7.984 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.8398, allocations: 29.64 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.55e-05/0.8399, allocations: 15.97 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8399, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8399, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.8399, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.7794 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.0003921/0.8403, allocations: 341.3 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.8403, allocations: 8.562 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.8404, allocations: 7.984 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.8405, allocations: 159.1 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.8405, allocations: 4 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.8405, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.8407, allocations: 57.62 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.8407, allocations: 4 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.8407, allocations: 4 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.8407, allocations: 0 / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.8409, allocations: 47.89 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.8412, allocations: 260.8 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.8413, allocations: 38.56 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.821e-05/0.8414, allocations: 28.89 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.8414, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.8415, allocations: 34.5 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.061e-06/0.8415, allocations: 3.938 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003282/0.8418, allocations: 101.7 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.8419, allocations: 51.41 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.8419, allocations: 97.86 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.8419, allocations: 25.7 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.842, allocations: 88.06 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.842, allocations: 11.91 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-06/0.842, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.8421, allocations: 314.9 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.8422, allocations: 15.98 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.8423, allocations: 23.98 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.306e-05/0.8424, allocations: 31.97 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.8424, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001709/0.8426, allocations: 77.62 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.8426, allocations: 4 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.8426, allocations: 7.969 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.8426, allocations: 3.984 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.8427, allocations: 8 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8427, allocations: 3.984 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.8427, allocations: 11.98 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.8428, allocations: 0 / 1.025 GB, free: 12.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/0.8428, allocations: 109.8 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.8429, allocations: 7.953 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.8431, allocations: 84.72 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.8431, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8431, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8431, allocations: 3.984 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.8433, allocations: 161.6 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.8433, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.8434, allocations: 11.98 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.8434, allocations: 7.953 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.8434, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.8434, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8434, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.8436, allocations: 175.6 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.8437, allocations: 81.09 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.8437, allocations: 11.89 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.8438, allocations: 12.02 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.8438, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.8438, allocations: 4 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.8439, allocations: 79.28 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8439, allocations: 4 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001976/0.8441, allocations: 0 / 1.026 GB, free: 11.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001352/0.8442, allocations: 107.2 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.8444, allocations: 47.97 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.8444, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/0.8445, allocations: 23.97 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.8448, allocations: 14.25 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.845, allocations: 110.7 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.8453, allocations: 0.677 MB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.02e-05/0.8453, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.8453, allocations: 7.438 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8453, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.002079/0.8474, allocations: 353.6 kB / 1.028 GB, free: 10.46 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=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/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