Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001446/0.001446, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001805/0.001805, allocations: 192 kB / 22.23 MB, free: 5.16 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.45/1.45, allocations: 225.6 MB / 251 MB, free: 13 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.333/3.333, allocations: 0.4893 GB / 0.7884 GB, free: 33.05 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 68.98 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4108, allocations: 174.9 MB / 1.316 GB, free: 9.758 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002166/0.413, allocations: 0.8271 MB / 1.317 GB, free: 8.934 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0001234/0.4131, allocations: 43.78 kB / 1.317 GB, free: 8.891 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.4132, allocations: 8 kB / 1.317 GB, free: 8.883 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 4.364e-05/0.4132, allocations: 7.875 kB / 1.317 GB, free: 8.875 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.315e-05/0.4133, allocations: 3.938 kB / 1.317 GB, free: 8.871 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 5.67e-05/0.4133, allocations: 23.97 kB / 1.317 GB, free: 8.848 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001276/0.4135, allocations: 67.72 kB / 1.317 GB, free: 8.781 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.4136, allocations: 27.98 kB / 1.317 GB, free: 8.754 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.369e-05/0.4137, allocations: 27.86 kB / 1.317 GB, free: 8.727 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.544e-05/0.4137, allocations: 31.84 kB / 1.317 GB, free: 8.695 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.4138, allocations: 4 kB / 1.317 GB, free: 8.691 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.4138, allocations: 8 kB / 1.317 GB, free: 8.684 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.4138, allocations: 15.92 kB / 1.317 GB, free: 8.668 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.4138, allocations: 35.81 kB / 1.317 GB, free: 8.633 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.414, allocations: 79.5 kB / 1.317 GB, free: 8.555 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.414, allocations: 3.938 kB / 1.317 GB, free: 8.551 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.553e-06/0.414, allocations: 0 / 1.317 GB, free: 8.551 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.893e-06/0.414, allocations: 4 kB / 1.317 GB, free: 8.547 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.000483/0.4145, allocations: 302 kB / 1.318 GB, free: 8.219 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4145, allocations: 8.031 kB / 1.318 GB, free: 8.211 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.4145, allocations: 8.891 kB / 1.318 GB, free: 8.203 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.4148, allocations: 142.3 kB / 1.318 GB, free: 8.039 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-06/0.4148, allocations: 4.375 kB / 1.318 GB, free: 8.035 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.4148, allocations: 12.38 kB / 1.318 GB, free: 8.023 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.4149, allocations: 87.94 kB / 1.318 GB, free: 7.926 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.415, allocations: 192 / 1.318 GB, free: 7.926 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.415, allocations: 7.938 kB / 1.318 GB, free: 7.918 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.415, allocations: 4 kB / 1.318 GB, free: 7.914 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/0.4151, allocations: 39.92 kB / 1.318 GB, free: 7.875 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.4156, allocations: 395.8 kB / 1.318 GB, free: 7.441 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.436e-05/0.4157, allocations: 45.17 kB / 1.318 GB, free: 7.379 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.4157, allocations: 17.84 kB / 1.318 GB, free: 7.355 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.4157, allocations: 4 kB / 1.318 GB, free: 7.352 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.4158, allocations: 38.56 kB / 1.318 GB, free: 7.305 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4158, allocations: 0 / 1.318 GB, free: 7.305 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0001763/0.4159, allocations: 61.52 kB / 1.318 GB, free: 7.238 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.416, allocations: 77.11 kB / 1.318 GB, free: 7.145 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.4162, allocations: 158.2 kB / 1.319 GB, free: 6.98 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.4162, allocations: 25.95 kB / 1.319 GB, free: 6.949 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.4163, allocations: 112 kB / 1.319 GB, free: 6.836 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.4163, allocations: 7.938 kB / 1.319 GB, free: 6.828 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.4163, allocations: 17.72 kB / 1.319 GB, free: 6.805 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001371/0.4164, allocations: 318.8 kB / 1.319 GB, free: 6.484 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.4165, allocations: 3.984 kB / 1.319 GB, free: 6.48 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.4165, allocations: 25.66 kB / 1.319 GB, free: 6.449 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.4165, allocations: 29.66 kB / 1.319 GB, free: 6.414 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4165, allocations: 0 / 1.319 GB, free: 6.414 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 9.022e-05/0.4166, allocations: 65.52 kB / 1.319 GB, free: 6.344 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4166, allocations: 8 kB / 1.319 GB, free: 6.336 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.4166, allocations: 3.938 kB / 1.319 GB, free: 6.332 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4167, allocations: 0 / 1.319 GB, free: 6.332 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.763e-05/0.4167, allocations: 4 kB / 1.319 GB, free: 6.328 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4167, allocations: 4 kB / 1.319 GB, free: 6.324 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.4167, allocations: 64 / 1.319 GB, free: 6.324 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.4167, allocations: 8 kB / 1.319 GB, free: 6.316 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 8.095e-05/0.4168, allocations: 110.4 kB / 1.319 GB, free: 6.199 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.4169, allocations: 15.89 kB / 1.319 GB, free: 6.184 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.4169, allocations: 15.75 kB / 1.319 GB, free: 6.164 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4169, allocations: 0 / 1.319 GB, free: 6.164 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.4169, allocations: 4 kB / 1.319 GB, free: 6.16 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4169, allocations: 4.078 kB / 1.319 GB, free: 6.156 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.4173, allocations: 445.8 kB / 1.32 GB, free: 5.664 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4173, allocations: 0 / 1.32 GB, free: 5.664 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.4173, allocations: 7.938 kB / 1.32 GB, free: 5.656 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4173, allocations: 0 / 1.32 GB, free: 5.656 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.4174, allocations: 7.984 kB / 1.32 GB, free: 5.648 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4174, allocations: 0 / 1.32 GB, free: 5.648 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4174, allocations: 4 kB / 1.32 GB, free: 5.645 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.695e-05/0.4175, allocations: 77.95 kB / 1.32 GB, free: 5.547 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.4175, allocations: 11.94 kB / 1.32 GB, free: 5.535 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.4175, allocations: 4 kB / 1.32 GB, free: 5.531 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.878e-05/0.4175, allocations: 0 / 1.32 GB, free: 5.531 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.4175, allocations: 0 / 1.32 GB, free: 5.531 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.4175, allocations: 4 kB / 1.32 GB, free: 5.527 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 9.4e-05/0.4176, allocations: 116.9 kB / 1.32 GB, free: 5.414 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.4176, allocations: 4.031 kB / 1.32 GB, free: 5.41 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001789/0.4178, allocations: 8 kB / 1.32 GB, free: 5.402 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.0001025/0.4179, allocations: 99.19 kB / 1.32 GB, free: 5.297 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 9.18e-05/0.418, allocations: 15.98 kB / 1.32 GB, free: 5.281 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.418, allocations: 0 / 1.32 GB, free: 5.281 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.418, allocations: 11.94 kB / 1.32 GB, free: 5.27 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.4182, allocations: 11.84 kB / 1.32 GB, free: 5.258 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.4185, allocations: 162.9 kB / 1.32 GB, free: 5.062 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.4188, allocations: 0.704 MB / 1.321 GB, free: 4.332 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.097e-05/0.4188, allocations: 4.438 kB / 1.321 GB, free: 4.328 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.4189, allocations: 11.44 kB / 1.321 GB, free: 4.316 MB / 1.014 GB
Notification: Performance of SimCode: time 3.2e-07/0.4189, allocations: 3.938 kB / 1.321 GB, free: 4.312 MB / 1.014 GB
Notification: Performance of Templates: time 0.003063/0.4219, allocations: 484.5 kB / 1.321 GB, free: 3.84 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.186262640170753]