Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.001694/0.001694, allocations: 114.2 kB / 18.94 MB, free: 2.785 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.002/0.002, allocations: 187.7 kB / 22.23 MB, free: 5.227 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.694/1.694, allocations: 225.6 MB / 251 MB, free: 13.02 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.569/3.569, allocations: 0.4893 GB / 0.7884 GB, free: 33.16 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.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal")
translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 67.58 kB / 1.145 GB, free: 30.72 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4394, allocations: 174.9 MB / 1.316 GB, free: 9.746 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002049/0.4414, allocations: 0.661 MB / 1.317 GB, free: 9.09 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001091/0.4425, allocations: 0.8394 MB / 1.317 GB, free: 8.238 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.4426, allocations: 4 kB / 1.317 GB, free: 8.234 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.4426, allocations: 7.922 kB / 1.317 GB, free: 8.227 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.973e-05/0.4427, allocations: 11.92 kB / 1.317 GB, free: 8.215 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.4428, allocations: 19.98 kB / 1.318 GB, free: 8.195 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001017/0.4429, allocations: 43.84 kB / 1.318 GB, free: 8.152 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.443, allocations: 12 kB / 1.318 GB, free: 8.141 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.341e-05/0.4431, allocations: 19.97 kB / 1.318 GB, free: 8.121 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.4432, allocations: 27.86 kB / 1.318 GB, free: 8.094 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.4432, allocations: 4 kB / 1.318 GB, free: 8.09 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.4432, allocations: 4 kB / 1.318 GB, free: 8.086 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.4433, allocations: 7.984 kB / 1.318 GB, free: 8.078 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.4433, allocations: 23.86 kB / 1.318 GB, free: 8.055 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.4434, allocations: 51.73 kB / 1.318 GB, free: 8.004 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4434, allocations: 7.938 kB / 1.318 GB, free: 7.996 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.794e-06/0.4434, allocations: 0 / 1.318 GB, free: 7.996 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.167e-06/0.4434, allocations: 0 / 1.318 GB, free: 7.996 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005566/0.444, allocations: 276.3 kB / 1.318 GB, free: 7.695 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.444, allocations: 8.031 kB / 1.318 GB, free: 7.688 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.444, allocations: 8.891 kB / 1.318 GB, free: 7.68 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.4442, allocations: 106.5 kB / 1.318 GB, free: 7.551 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.4442, allocations: 4.375 kB / 1.318 GB, free: 7.547 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.4442, allocations: 8.375 kB / 1.318 GB, free: 7.539 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.4444, allocations: 62.22 kB / 1.318 GB, free: 7.473 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4444, allocations: 4.125 kB / 1.318 GB, free: 7.469 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.4445, allocations: 15.92 kB / 1.318 GB, free: 7.453 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4445, allocations: 0 / 1.318 GB, free: 7.453 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.4447, allocations: 47.95 kB / 1.318 GB, free: 7.406 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.4452, allocations: 263.8 kB / 1.318 GB, free: 7.105 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.4455, allocations: 66.52 kB / 1.319 GB, free: 7.031 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.4456, allocations: 28.88 kB / 1.319 GB, free: 7 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.4456, allocations: 0 / 1.319 GB, free: 7 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4457, allocations: 34.56 kB / 1.319 GB, free: 6.957 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.4457, allocations: 0 / 1.319 GB, free: 6.957 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4): time 0.0005124/0.4462, allocations: 105.6 kB / 1.319 GB, free: 6.848 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.4462, allocations: 51.41 kB / 1.319 GB, free: 6.785 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.4463, allocations: 105.8 kB / 1.319 GB, free: 6.672 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.4464, allocations: 25.7 kB / 1.319 GB, free: 6.641 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.4465, allocations: 100 kB / 1.319 GB, free: 6.539 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.4465, allocations: 7.953 kB / 1.319 GB, free: 6.531 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.4465, allocations: 21.66 kB / 1.319 GB, free: 6.504 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001849/0.4467, allocations: 318.8 kB / 1.319 GB, free: 6.184 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.4468, allocations: 19.98 kB / 1.319 GB, free: 6.164 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.4469, allocations: 23.97 kB / 1.319 GB, free: 6.141 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.4472, allocations: 60.75 kB / 1.319 GB, free: 6.078 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4472, allocations: 0 / 1.319 GB, free: 6.078 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002977/0.4475, allocations: 85.92 kB / 1.319 GB, free: 5.988 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4475, allocations: 5.25 kB / 1.319 GB, free: 5.984 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4475, allocations: 4 kB / 1.319 GB, free: 5.98 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4475, allocations: 0 / 1.319 GB, free: 5.98 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.4476, allocations: 15.92 kB / 1.32 GB, free: 5.965 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4477, allocations: 0 / 1.32 GB, free: 5.965 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.4477, allocations: 12 kB / 1.32 GB, free: 5.953 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.4477, allocations: 7.969 kB / 1.32 GB, free: 5.945 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: 1 (reaToInt1.y)
 * 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 0.0001083/0.4479, allocations: 114.7 kB / 1.32 GB, free: 5.824 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.4479, allocations: 0 / 1.32 GB, free: 5.824 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.4479, allocations: 15.94 kB / 1.32 GB, free: 5.797 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4479, allocations: 0 / 1.32 GB, free: 5.797 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4479, allocations: 0 / 1.32 GB, free: 5.797 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4479, allocations: 0 / 1.32 GB, free: 5.797 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.4482, allocations: 152.6 kB / 1.32 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4482, allocations: 4 kB / 1.32 GB, free: 5.602 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.952e-05/0.4483, allocations: 11.98 kB / 1.32 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4483, allocations: 0 / 1.32 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4483, allocations: 256 / 1.32 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4483, allocations: 0 / 1.32 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4483, allocations: 4 kB / 1.32 GB, free: 5.586 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.4486, allocations: 195.3 kB / 1.32 GB, free: 5.379 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.4487, allocations: 4 kB / 1.32 GB, free: 5.375 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.4487, allocations: 3.984 kB / 1.32 GB, free: 5.371 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.4488, allocations: 4 kB / 1.32 GB, free: 5.367 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.4489, allocations: 11.98 kB / 1.32 GB, free: 5.355 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.4489, allocations: 3.938 kB / 1.32 GB, free: 5.352 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.148e-05/0.4489, allocations: 91.27 kB / 1.32 GB, free: 5.262 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.4489, allocations: 0 / 1.32 GB, free: 5.262 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002211/0.4491, allocations: 4 kB / 1.32 GB, free: 5.258 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: 1 (reaToInt1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000135/0.4493, allocations: 99.78 kB / 1.32 GB, free: 5.152 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003016/0.4496, allocations: 51.94 kB / 1.32 GB, free: 5.102 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4496, allocations: 0 / 1.32 GB, free: 5.102 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.4497, allocations: 39.91 kB / 1.32 GB, free: 5.062 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.4501, allocations: 11.88 kB / 1.32 GB, free: 5.051 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.4505, allocations: 133.4 kB / 1.32 GB, free: 4.895 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.4509, allocations: 0.6885 MB / 1.321 GB, free: 4.18 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.536e-05/0.4509, allocations: 4 kB / 1.321 GB, free: 4.176 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.451, allocations: 7.438 kB / 1.321 GB, free: 4.168 MB / 1.014 GB
Notification: Performance of SimCode: time 6.31e-07/0.451, allocations: 4 kB / 1.321 GB, free: 4.164 MB / 1.014 GB
Notification: Performance of Templates: time 0.004059/0.4551, allocations: 0.9058 MB / 1.322 GB, free: 3.266 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.98186273034662]