Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.001787/0.001787, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001988/0.001988, allocations: 190.7 kB / 22.22 MB, free: 5.105 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.414/1.414, 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.163/3.163, allocations: 0.4893 GB / 0.7884 GB, free: 33.25 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.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 69.73 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4007, allocations: 174.9 MB / 1.316 GB, free: 9.73 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002154/0.4028, allocations: 0.8296 MB / 1.317 GB, free: 8.902 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0001287/0.403, allocations: 47.72 kB / 1.317 GB, free: 8.855 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.403, allocations: 4 kB / 1.317 GB, free: 8.852 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 4.534e-05/0.4031, allocations: 11.86 kB / 1.317 GB, free: 8.84 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 9.035e-05/0.4032, allocations: 7.938 kB / 1.317 GB, free: 8.832 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 5.645e-05/0.4032, allocations: 15.98 kB / 1.317 GB, free: 8.816 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001338/0.4033, allocations: 71.77 kB / 1.317 GB, free: 8.746 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.4035, allocations: 31.97 kB / 1.317 GB, free: 8.715 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.4035, allocations: 23.88 kB / 1.317 GB, free: 8.691 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.515e-05/0.4036, allocations: 31.84 kB / 1.317 GB, free: 8.66 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.4036, allocations: 8 kB / 1.317 GB, free: 8.652 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.4036, allocations: 8 kB / 1.317 GB, free: 8.645 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.4037, allocations: 11.94 kB / 1.317 GB, free: 8.633 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.4037, allocations: 39.67 kB / 1.317 GB, free: 8.594 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.4038, allocations: 79.58 kB / 1.317 GB, free: 8.516 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4038, allocations: 0 / 1.317 GB, free: 8.516 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.553e-06/0.4039, allocations: 0 / 1.317 GB, free: 8.516 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.346e-06/0.4039, allocations: 0 / 1.317 GB, free: 8.516 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: 18
 * Number of variables: 18
Notification: Performance of Generate backend data structure: time 0.0004425/0.4043, allocations: 306 kB / 1.318 GB, free: 8.184 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4043, allocations: 12.03 kB / 1.318 GB, free: 8.172 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.4044, allocations: 8.891 kB / 1.318 GB, free: 8.164 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.4046, allocations: 134.4 kB / 1.318 GB, free: 8.008 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4046, allocations: 8.375 kB / 1.318 GB, free: 8 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.4046, allocations: 8.375 kB / 1.318 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4048, allocations: 90.44 kB / 1.318 GB, free: 7.895 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4048, allocations: 192 / 1.318 GB, free: 7.895 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.4048, allocations: 11.94 kB / 1.318 GB, free: 7.883 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4048, allocations: 4 kB / 1.318 GB, free: 7.879 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.951e-05/0.4049, allocations: 39.92 kB / 1.318 GB, free: 7.84 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.4055, allocations: 399.7 kB / 1.318 GB, free: 7.402 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.41e-05/0.4055, allocations: 37.34 kB / 1.318 GB, free: 7.348 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.4056, allocations: 25.77 kB / 1.318 GB, free: 7.316 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.4056, allocations: 0 / 1.318 GB, free: 7.316 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.4056, allocations: 30.56 kB / 1.318 GB, free: 7.277 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4056, allocations: 4 kB / 1.318 GB, free: 7.273 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.000174/0.4058, allocations: 53.53 kB / 1.318 GB, free: 7.215 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.4059, allocations: 85.3 kB / 1.318 GB, free: 7.113 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.406, allocations: 159.9 kB / 1.319 GB, free: 6.949 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.406, allocations: 25.7 kB / 1.319 GB, free: 6.918 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.4061, allocations: 112 kB / 1.319 GB, free: 6.805 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 8.265e-06/0.4061, allocations: 7.891 kB / 1.319 GB, free: 6.797 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.4062, allocations: 21.7 kB / 1.319 GB, free: 6.77 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001637/0.4063, allocations: 318.8 kB / 1.319 GB, free: 6.449 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.4064, allocations: 8 kB / 1.319 GB, free: 6.441 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.4064, allocations: 25.7 kB / 1.319 GB, free: 6.41 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.535e-05/0.4064, allocations: 25.66 kB / 1.319 GB, free: 6.379 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4064, allocations: 0 / 1.319 GB, free: 6.379 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001038/0.4065, allocations: 65.58 kB / 1.319 GB, free: 6.309 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4065, allocations: 4 kB / 1.319 GB, free: 6.305 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4066, allocations: 3.938 kB / 1.319 GB, free: 6.301 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4066, allocations: 0 / 1.319 GB, free: 6.301 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.4066, allocations: 12.06 kB / 1.319 GB, free: 6.289 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.4066, allocations: 0 / 1.319 GB, free: 6.289 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.4067, allocations: 4 kB / 1.319 GB, free: 6.285 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.4067, allocations: 0 / 1.319 GB, free: 6.285 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (4):
 * Single equations (assignments): 4
 * 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 9.307e-05/0.4068, allocations: 119.2 kB / 1.319 GB, free: 6.16 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.4068, allocations: 11.91 kB / 1.319 GB, free: 6.148 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.4068, allocations: 19.73 kB / 1.319 GB, free: 6.125 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.4068, allocations: 0 / 1.319 GB, free: 6.125 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4068, allocations: 0 / 1.319 GB, free: 6.125 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4068, allocations: 4.094 kB / 1.319 GB, free: 6.121 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.4073, allocations: 445.8 kB / 1.32 GB, free: 5.629 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4073, allocations: 0 / 1.32 GB, free: 5.629 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.4073, allocations: 4 kB / 1.32 GB, free: 5.625 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4073, allocations: 0 / 1.32 GB, free: 5.625 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4073, allocations: 0 / 1.32 GB, free: 5.625 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.4073, allocations: 4 kB / 1.32 GB, free: 5.621 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4073, allocations: 4.062 kB / 1.32 GB, free: 5.617 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 9.891e-05/0.4074, allocations: 81.88 kB / 1.32 GB, free: 5.516 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.4074, allocations: 7.953 kB / 1.32 GB, free: 5.508 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.4074, allocations: 3.984 kB / 1.32 GB, free: 5.504 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.4075, allocations: 3.938 kB / 1.32 GB, free: 5.5 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.4075, allocations: 4 kB / 1.32 GB, free: 5.496 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.4075, allocations: 4.031 kB / 1.32 GB, free: 5.492 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 9.646e-05/0.4076, allocations: 125.3 kB / 1.32 GB, free: 5.371 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.4076, allocations: 0 / 1.32 GB, free: 5.371 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001844/0.4078, allocations: 8 kB / 1.32 GB, free: 5.363 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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.0001123/0.4079, allocations: 91.25 kB / 1.32 GB, free: 5.266 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 9.065e-05/0.408, allocations: 16 kB / 1.32 GB, free: 5.25 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.408, allocations: 0 / 1.32 GB, free: 5.25 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.408, allocations: 16.05 kB / 1.32 GB, free: 5.234 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.4081, allocations: 23.72 kB / 1.32 GB, free: 5.211 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.4084, allocations: 158.6 kB / 1.32 GB, free: 5.02 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.4088, allocations: 0.6963 MB / 1.321 GB, free: 4.297 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.264e-05/0.4088, allocations: 8.562 kB / 1.321 GB, free: 4.289 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.4088, allocations: 11.44 kB / 1.321 GB, free: 4.277 MB / 1.014 GB
Notification: Performance of SimCode: time 3.01e-07/0.4088, allocations: 0 / 1.321 GB, free: 4.277 MB / 1.014 GB
Notification: Performance of Templates: time 0.0028/0.4116, allocations: 488.4 kB / 1.321 GB, free: 3.801 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.029619667679071]