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.001123/0.001123, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01087/0.01087, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.553/1.553, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.886/2.886, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005596/0.0005598, allocations: 8 kB / 0.8729 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8183, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001049/0.8194, allocations: 402.2 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009682/0.8204, allocations: 0.804 MB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.8204, allocations: 4 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.8204, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.386e-05/0.8205, allocations: 3.938 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.8207, allocations: 11.98 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.903e-05/0.8207, allocations: 19.94 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.8208, allocations: 7.984 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.8209, allocations: 7.938 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.25e-05/0.821, allocations: 11.98 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.821, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.435e-06/0.821, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.821, allocations: 7.938 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.8211, allocations: 33.69 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.662e-05/0.8212, allocations: 27.89 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.8212, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8212, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.8212, allocations: 0 / 1.024 GB, free: 14.49 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.000562/0.8217, allocations: 337.5 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.8218, allocations: 12.03 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.8218, allocations: 0.9375 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.822, allocations: 164.3 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.822, allocations: 12.31 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.822, allocations: 384 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.8222, allocations: 58.22 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.8222, allocations: 192 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.8223, allocations: 3.938 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.8223, allocations: 4 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.8225, allocations: 47.95 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.8229, allocations: 241 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.8231, allocations: 54.44 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.811e-05/0.8232, allocations: 28.89 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.8232, allocations: 7.938 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.8232, allocations: 34.5 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.8233, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003726/0.8236, allocations: 97.64 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.8237, allocations: 55.47 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.8238, allocations: 101.9 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.8238, allocations: 25.7 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.8239, allocations: 88.08 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.8239, allocations: 7.891 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.8239, allocations: 9.719 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.824, allocations: 314.8 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.485e-05/0.8241, allocations: 23.98 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.227e-05/0.8242, allocations: 19.98 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.8244, allocations: 56.88 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8245, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003366/0.8248, allocations: 77.59 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.8248, allocations: 7.938 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.8248, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.8249, allocations: 8.031 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.825, allocations: 8 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.825, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.8251, allocations: 7.984 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.8251, allocations: 4 kB / 1.026 GB, free: 12.38 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 0.0001119/0.8252, allocations: 109.8 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.8252, allocations: 7.906 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.8256, allocations: 84.77 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.8256, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.8256, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.8256, allocations: 4 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.8259, allocations: 161.6 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8259, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.467e-05/0.826, allocations: 15.92 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.826, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.826, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.826, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8261, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.8265, allocations: 179.5 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.8265, allocations: 81.05 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.8266, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.8267, allocations: 11.98 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.8268, allocations: 4.031 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.8268, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.881e-05/0.8269, allocations: 95.38 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8269, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003538/0.8273, allocations: 4 kB / 1.027 GB, free: 11.54 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.0002004/0.8275, allocations: 95.78 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.8278, allocations: 51.91 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8279, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.828, allocations: 27.97 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.8285, allocations: 8.062 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.8289, allocations: 110.9 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.8293, allocations: 0.6808 MB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.8294, allocations: 4 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.8294, allocations: 7.438 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of SimCode: time 4.588e-06/0.8294, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.002753/0.8322, allocations: 363.2 kB / 1.028 GB, free: 10.14 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