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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.399/3.399, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.86 kB / 1.145 GB, free: 30.52 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4164, allocations: 174.9 MB / 1.316 GB, free: 9.562 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001895/0.4183, allocations: 0.6695 MB / 1.317 GB, free: 8.895 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0009468/0.4193, allocations: 0.8161 MB / 1.318 GB, free: 8.066 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.4193, allocations: 0 / 1.318 GB, free: 8.066 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.4193, allocations: 0 / 1.318 GB, free: 8.066 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.4194, allocations: 7.938 kB / 1.318 GB, free: 8.059 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.4196, allocations: 11.98 kB / 1.318 GB, free: 8.047 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.4196, allocations: 23.92 kB / 1.318 GB, free: 8.023 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.4197, allocations: 4 kB / 1.318 GB, free: 8.02 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.619e-05/0.4198, allocations: 19.91 kB / 1.318 GB, free: 8 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.017e-05/0.4198, allocations: 8 kB / 1.318 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.4198, allocations: 0 / 1.318 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.4199, allocations: 7.938 kB / 1.318 GB, free: 7.984 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.4199, allocations: 3.938 kB / 1.318 GB, free: 7.98 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.4199, allocations: 11.98 kB / 1.318 GB, free: 7.969 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 8.03e-05/0.42, allocations: 23.84 kB / 1.318 GB, free: 7.945 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.42, allocations: 4 kB / 1.318 GB, free: 7.941 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.162e-06/0.42, allocations: 0 / 1.318 GB, free: 7.941 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.797e-06/0.42, allocations: 3.938 kB / 1.318 GB, free: 7.938 MB / 1.014 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.0004334/0.4204, allocations: 256.1 kB / 1.318 GB, free: 7.656 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.4205, allocations: 12.03 kB / 1.318 GB, free: 7.645 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.4205, allocations: 4.891 kB / 1.318 GB, free: 7.641 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.4206, allocations: 110.5 kB / 1.318 GB, free: 7.508 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.4206, allocations: 384 / 1.318 GB, free: 7.508 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.4206, allocations: 384 / 1.318 GB, free: 7.508 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.4208, allocations: 58.22 kB / 1.318 GB, free: 7.445 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4208, allocations: 192 / 1.318 GB, free: 7.445 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4208, allocations: 3.938 kB / 1.318 GB, free: 7.441 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4208, allocations: 0 / 1.318 GB, free: 7.441 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.421, allocations: 35.95 kB / 1.318 GB, free: 7.406 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.4213, allocations: 220 kB / 1.318 GB, free: 7.148 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.4214, allocations: 42.5 kB / 1.318 GB, free: 7.098 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.029e-05/0.4215, allocations: 24.83 kB / 1.318 GB, free: 7.07 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.4215, allocations: 4 kB / 1.318 GB, free: 7.066 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.4216, allocations: 38.56 kB / 1.318 GB, free: 7.02 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4216, allocations: 0 / 1.318 GB, free: 7.02 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0003305/0.4219, allocations: 89.53 kB / 1.319 GB, free: 6.926 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.4219, allocations: 51.41 kB / 1.319 GB, free: 6.863 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.422, allocations: 97.86 kB / 1.319 GB, free: 6.758 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.422, allocations: 25.7 kB / 1.319 GB, free: 6.727 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.4221, allocations: 88.12 kB / 1.319 GB, free: 6.637 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.4221, allocations: 7.953 kB / 1.319 GB, free: 6.629 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.4221, allocations: 13.84 kB / 1.319 GB, free: 6.609 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001352/0.4223, allocations: 310.8 kB / 1.319 GB, free: 6.297 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.4224, allocations: 19.98 kB / 1.319 GB, free: 6.277 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.576e-05/0.4224, allocations: 15.97 kB / 1.319 GB, free: 6.262 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.4226, allocations: 40.83 kB / 1.319 GB, free: 6.219 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4226, allocations: 4.062 kB / 1.319 GB, free: 6.215 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.4227, allocations: 73.53 kB / 1.319 GB, free: 6.137 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.4228, allocations: 4 kB / 1.319 GB, free: 6.133 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4228, allocations: 0 / 1.319 GB, free: 6.133 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4228, allocations: 0 / 1.319 GB, free: 6.133 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/0.4229, allocations: 11.98 kB / 1.319 GB, free: 6.121 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4229, allocations: 0 / 1.319 GB, free: 6.121 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.4229, allocations: 15.91 kB / 1.319 GB, free: 6.105 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.4229, allocations: 0 / 1.319 GB, free: 6.105 MB / 1.014 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.243e-05/0.423, allocations: 109.8 kB / 1.319 GB, free: 5.988 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.423, allocations: 7.984 kB / 1.319 GB, free: 5.98 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.4232, allocations: 72.91 kB / 1.319 GB, free: 5.898 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4232, allocations: 0 / 1.319 GB, free: 5.898 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4232, allocations: 0 / 1.319 GB, free: 5.898 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4232, allocations: 4.031 kB / 1.319 GB, free: 5.895 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.4234, allocations: 132.7 kB / 1.32 GB, free: 5.723 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4234, allocations: 0 / 1.32 GB, free: 5.723 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.4235, allocations: 7.984 kB / 1.32 GB, free: 5.715 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4235, allocations: 0 / 1.32 GB, free: 5.715 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.4235, allocations: 0 / 1.32 GB, free: 5.715 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4235, allocations: 0 / 1.32 GB, free: 5.715 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4235, allocations: 7.938 kB / 1.32 GB, free: 5.707 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.4237, allocations: 167.4 kB / 1.32 GB, free: 5.527 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.4237, allocations: 4 kB / 1.32 GB, free: 5.523 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.4237, allocations: 0 / 1.32 GB, free: 5.523 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.4238, allocations: 11.92 kB / 1.32 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.4239, allocations: 0 / 1.32 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.4239, allocations: 0 / 1.32 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.831e-05/0.4239, allocations: 87.45 kB / 1.32 GB, free: 5.426 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4239, allocations: 4.031 kB / 1.32 GB, free: 5.422 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002089/0.4241, allocations: 4 kB / 1.32 GB, free: 5.418 MB / 1.014 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.000152/0.4243, allocations: 95.92 kB / 1.32 GB, free: 5.312 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002041/0.4245, allocations: 39.95 kB / 1.32 GB, free: 5.273 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4245, allocations: 0 / 1.32 GB, free: 5.273 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 7.908e-05/0.4245, allocations: 20.05 kB / 1.32 GB, free: 5.254 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.4248, allocations: 13.19 kB / 1.32 GB, free: 5.242 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.4251, allocations: 110.1 kB / 1.32 GB, free: 5.109 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.4254, allocations: 0.6807 MB / 1.321 GB, free: 4.402 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.462e-05/0.4255, allocations: 3.984 kB / 1.321 GB, free: 4.398 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.4255, allocations: 11.44 kB / 1.321 GB, free: 4.387 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.4255, allocations: 0 / 1.321 GB, free: 4.387 MB / 1.014 GB
Notification: Performance of Templates: time 0.002771/0.4283, allocations: 448.4 kB / 1.321 GB, free: 3.949 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 800]
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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.399905974976718]