Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001592/0.001592, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001799/0.001799, allocations: 190.5 kB / 22.11 MB, free: 5.152 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.554/1.554, allocations: 225.6 MB / 250.8 MB, free: 13.08 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.227/3.227, allocations: 495.8 MB / 0.783 GB, free: 33.53 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-maint.12.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.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.003082/0.003082, allocations: 62.53 kB / 1.137 GB, free: 33.9 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4316, allocations: 173.6 MB / 1.307 GB, free: 1.91 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002284/0.4339, allocations: 0.8425 MB / 1.308 GB, free: 1.07 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0001169/0.434, allocations: 43.72 kB / 1.308 GB, free: 1.027 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.4341, allocations: 4 kB / 1.308 GB, free: 1.023 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.959e-05/0.4341, allocations: 11.86 kB / 1.308 GB, free: 1.012 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 8.484e-05/0.4342, allocations: 15.88 kB / 1.308 GB, free: 0.9961 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 4.627e-05/0.4342, allocations: 15.98 kB / 1.308 GB, free: 0.9805 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001167/0.4344, allocations: 51.91 kB / 1.308 GB, free: 0.9297 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.4345, allocations: 51.84 kB / 1.308 GB, free: 0.8789 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.268e-05/0.4346, allocations: 19.94 kB / 1.308 GB, free: 0.8594 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.925e-05/0.4346, allocations: 35.72 kB / 1.308 GB, free: 0.8242 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.4347, allocations: 8 kB / 1.308 GB, free: 0.8164 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.968e-06/0.4347, allocations: 4 kB / 1.308 GB, free: 0.8125 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.4347, allocations: 15.94 kB / 1.308 GB, free: 0.7969 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.4347, allocations: 35.8 kB / 1.308 GB, free: 0.7617 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.4349, allocations: 75.58 kB / 1.308 GB, free: 0.6875 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4349, allocations: 3.938 kB / 1.308 GB, free: 0.6836 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.753e-06/0.4349, allocations: 0 / 1.308 GB, free: 0.6836 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 6.171e-06/0.4349, allocations: 0 / 1.308 GB, free: 0.6836 MB / 0.9981 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.0004489/0.4353, allocations: 302 kB / 1.308 GB, free: 364 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4354, allocations: 12.03 kB / 1.308 GB, free: 352 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.4354, allocations: 12.84 kB / 1.308 GB, free: 340 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.4356, allocations: 142.3 kB / 1.308 GB, free: 172 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.4356, allocations: 4.375 kB / 1.308 GB, free: 168 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.4356, allocations: 8.375 kB / 1.308 GB, free: 160 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.4358, allocations: 93.61 kB / 1.308 GB, free: 56 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4358, allocations: 192 / 1.308 GB, free: 56 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.4358, allocations: 7.938 kB / 1.309 GB, free: 48 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.4359, allocations: 4 kB / 1.309 GB, free: 44 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.4359, allocations: 31.98 kB / 1.309 GB, free: 12 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.4366, allocations: 411.8 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/0.4366, allocations: 33.16 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.4367, allocations: 17.84 kB / 1.309 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.4367, allocations: 8 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.4367, allocations: 38.58 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4367, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0002027/0.4369, allocations: 53.53 kB / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.437, allocations: 77.11 kB / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.4371, allocations: 162.4 kB / 1.309 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.4371, allocations: 29.7 kB / 1.309 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.4372, allocations: 112 kB / 1.309 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 8.557e-06/0.4372, allocations: 3.953 kB / 1.309 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.4373, allocations: 17.67 kB / 1.309 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001633/0.4374, allocations: 318.8 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.4374, allocations: 8 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.4375, allocations: 17.7 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.075e-05/0.4375, allocations: 37.66 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4375, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.389e-05/0.4376, allocations: 49.66 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4376, allocations: 4 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4376, allocations: 7.938 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4376, allocations: 0 / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.4377, allocations: 11.92 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4377, allocations: 0 / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.4378, allocations: 12.06 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.4378, allocations: 0 / 1.31 GB, free: 14.46 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.347e-05/0.4378, allocations: 126.5 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.4379, allocations: 7.953 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.4379, allocations: 19.81 kB / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4379, allocations: 0 / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4379, allocations: 0 / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4379, allocations: 0 / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.4384, allocations: 457.7 kB / 1.31 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.4384, allocations: 4 kB / 1.31 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/0.4384, allocations: 0 / 1.31 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.4384, allocations: 4 kB / 1.31 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.4384, allocations: 0 / 1.31 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4384, allocations: 0 / 1.31 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4384, allocations: 0 / 1.31 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.4385, allocations: 85.88 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.4385, allocations: 11.95 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.4385, allocations: 0 / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.378e-05/0.4386, allocations: 4 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.4386, allocations: 3.984 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.4386, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 9.63e-05/0.4387, allocations: 119.2 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.4387, allocations: 4.031 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001895/0.4389, allocations: 12 kB / 1.311 GB, free: 13.53 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.000126/0.439, allocations: 95.25 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 9.303e-05/0.4391, allocations: 15.94 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4391, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.4391, allocations: 4 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.4392, allocations: 14.77 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.4396, allocations: 162.6 kB / 1.311 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.4399, allocations: 0.6963 MB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.535e-05/0.44, allocations: 8.422 kB / 1.312 GB, free: 12.47 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.44, allocations: 11.44 kB / 1.312 GB, free: 12.46 MB / 1.014 GB
Notification: Performance of SimCode: time 4.51e-07/0.44, allocations: 3.938 kB / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of Templates: time 0.003068/0.4431, allocations: 477.2 kB / 1.312 GB, free: 11.99 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.45519192237407]