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.00162/0.001621, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001948/0.001948, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.365/1.365, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.623/2.623, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.014, allocations: 151.6 MB / 1.167 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002113/1.016, allocations: 0.6734 MB / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001075/1.017, allocations: 0.8117 MB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/1.017, allocations: 0 / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/1.017, allocations: 0 / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/1.017, allocations: 7.922 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/1.018, allocations: 8 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.874e-05/1.018, allocations: 27.92 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/1.018, allocations: 8 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/1.018, allocations: 11.98 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.047e-05/1.018, allocations: 11.92 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/1.018, allocations: 0 / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/1.018, allocations: 4 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/1.018, allocations: 7.984 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/1.018, allocations: 7.938 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.377e-05/1.018, allocations: 19.91 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.018, allocations: 4 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.704e-06/1.018, allocations: 4 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.538e-06/1.018, allocations: 0 / 1.169 GB, free: 2.148 MB / 0.8887 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.0004437/1.019, allocations: 336 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.019, allocations: 8.922 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/1.019, allocations: 8.875 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/1.019, allocations: 168.3 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/1.019, allocations: 384 / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/1.019, allocations: 384 / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/1.019, allocations: 54.23 kB / 1.169 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.019, allocations: 192 / 1.169 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/1.019, allocations: 3.938 kB / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/1.019, allocations: 4 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/1.019, allocations: 27.97 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/1.02, allocations: 252.8 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/1.02, allocations: 46.5 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/1.02, allocations: 27.34 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/1.02, allocations: 0 / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/1.02, allocations: 30.56 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.02, allocations: 0 / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003343/1.02, allocations: 89.58 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/1.02, allocations: 51.41 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/1.02, allocations: 101.8 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/1.02, allocations: 25.7 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/1.02, allocations: 88.14 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/1.02, allocations: 7.891 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/1.02, allocations: 13.84 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.021, allocations: 322.8 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/1.021, allocations: 11.98 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/1.021, allocations: 15.98 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/1.021, allocations: 40.81 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.021, allocations: 4.062 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001991/1.021, allocations: 73.5 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.021, allocations: 4 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.021, allocations: 0 / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.021, allocations: 0 / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/1.021, allocations: 11.98 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.021, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.227e-05/1.021, allocations: 8.172 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/1.021, allocations: 4.031 kB / 1.171 GB, free: 128 kB / 0.8887 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.201e-05/1.021, allocations: 113.8 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/1.021, allocations: 8.125 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/1.022, allocations: 68.72 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.022, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.022, allocations: 4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/1.022, allocations: 81.09 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/1.022, allocations: 4.031 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/1.022, allocations: 4 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/1.022, allocations: 7.984 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000255/1.022, allocations: 148.9 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002722/1.022, allocations: 250.7 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.004e-05/1.023, allocations: 15.98 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.598e-05/1.023, allocations: 87.27 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of Backend: time 3.81e-07/1.023, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004063/1.023, allocations: 100.2 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004654/1.023, allocations: 0.5459 MB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of Templates: time 0.00265/1.026, allocations: 0.5224 MB / 1.173 GB, free: 14.07 MB / 0.9044 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