Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001641/0.001641, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00202/0.00202, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.659/2.659, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 67.89 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8074/0.8089, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002333/0.8113, allocations: 0.6674 MB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.8126, allocations: 0.8117 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.8126, allocations: 4 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.8127, allocations: 3.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.8128, allocations: 0 / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.8129, allocations: 11.92 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.736e-05/0.813, allocations: 19.98 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.8131, allocations: 11.97 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.8132, allocations: 15.88 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.8133, allocations: 11.98 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.8133, allocations: 4 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.014e-05/0.8133, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.8133, allocations: 4 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.8134, allocations: 15.92 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.649e-05/0.8135, allocations: 19.91 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.8135, allocations: 0 / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8135, allocations: 0 / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.8135, allocations: 0 / 1.21 GB, free: 12.01 MB / 0.9356 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.0005425/0.8141, allocations: 343.3 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.8141, allocations: 12.03 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.8142, allocations: 0.9375 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.8144, allocations: 164.4 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.8144, allocations: 4.375 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.8144, allocations: 384 / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.8146, allocations: 50.23 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.8147, allocations: 192 / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.8147, allocations: 7.938 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.8147, allocations: 3.938 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.8149, allocations: 35.95 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.8152, allocations: 241 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.8154, allocations: 46.48 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.924e-05/0.8155, allocations: 24.91 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.8155, allocations: 0 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.8155, allocations: 38.5 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.8155, allocations: 0 / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003616/0.8159, allocations: 77.55 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.816, allocations: 67.47 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.297e-05/0.816, allocations: 93.86 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.8161, allocations: 25.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.8161, allocations: 88.12 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.8162, allocations: 7.906 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.8162, allocations: 9.719 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.8163, allocations: 318.8 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.8164, allocations: 19.98 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/0.8165, allocations: 15.97 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.8166, allocations: 44.77 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8166, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001967/0.8168, allocations: 69.66 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.8169, allocations: 10.34 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8169, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8169, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.817, allocations: 11.98 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.817, allocations: 0 / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.8171, allocations: 4 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.8171, allocations: 0 / 1.212 GB, free: 9.992 MB / 0.9356 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.309e-05/0.8171, allocations: 113.8 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.8172, allocations: 4.031 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.8174, allocations: 76.72 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.8174, allocations: 0 / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.8174, allocations: 0 / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.8174, allocations: 0 / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.8176, allocations: 157.6 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8176, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.8176, allocations: 11.98 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8177, allocations: 4.031 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.8177, allocations: 192 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8177, allocations: 4 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8177, allocations: 0 / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.8179, allocations: 175.3 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.818, allocations: 82.94 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.818, allocations: 8.016 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.8181, allocations: 4 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.8181, allocations: 7.922 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.8181, allocations: 0 / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.8182, allocations: 83.28 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8182, allocations: 0 / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002117/0.8184, allocations: 4 kB / 1.212 GB, free: 9.172 MB / 0.9356 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.0001519/0.8186, allocations: 99.25 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.8188, allocations: 39.95 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8188, allocations: 0 / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.8189, allocations: 23.92 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.8192, allocations: 3.938 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.8195, allocations: 147.8 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.8198, allocations: 0.6768 MB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.8198, allocations: 7.438 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.8198, allocations: 4 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of Templates: time 0.001896/0.8217, allocations: 0.5373 MB / 1.214 GB, free: 7.566 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches