Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.001885/0.001885, allocations: 113.9 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.001915/0.001915, allocations: 189 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.53/1.53, allocations: 225.6 MB / 251 MB, free: 13.04 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.122/3.122, allocations: 0.4893 GB / 0.7884 GB, free: 33.22 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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.12 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3893, allocations: 174.9 MB / 1.316 GB, free: 9.699 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002441/0.3918, allocations: 0.8374 MB / 1.317 GB, free: 8.863 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0001688/0.3919, allocations: 39.8 kB / 1.317 GB, free: 8.824 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.594e-05/0.392, allocations: 4 kB / 1.317 GB, free: 8.82 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 4.147e-05/0.3921, allocations: 7.875 kB / 1.317 GB, free: 8.812 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 9.749e-05/0.3922, allocations: 15.84 kB / 1.317 GB, free: 8.797 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 5.203e-05/0.3922, allocations: 15.98 kB / 1.317 GB, free: 8.781 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3924, allocations: 63.84 kB / 1.317 GB, free: 8.719 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3925, allocations: 27.98 kB / 1.317 GB, free: 8.691 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.3926, allocations: 31.86 kB / 1.317 GB, free: 8.66 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.3926, allocations: 35.78 kB / 1.317 GB, free: 8.625 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3927, allocations: 4 kB / 1.317 GB, free: 8.621 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/0.3927, allocations: 8 kB / 1.317 GB, free: 8.613 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.3927, allocations: 11.94 kB / 1.317 GB, free: 8.602 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.3928, allocations: 31.8 kB / 1.317 GB, free: 8.57 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.3929, allocations: 75.58 kB / 1.317 GB, free: 8.496 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3929, allocations: 4 kB / 1.317 GB, free: 8.492 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.774e-06/0.3929, allocations: 3.938 kB / 1.317 GB, free: 8.488 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.121e-06/0.3929, allocations: 3.938 kB / 1.317 GB, free: 8.484 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.0004844/0.3934, allocations: 313.9 kB / 1.318 GB, free: 8.145 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3934, allocations: 8.031 kB / 1.318 GB, free: 8.137 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.3935, allocations: 8.891 kB / 1.318 GB, free: 8.129 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.3937, allocations: 134.4 kB / 1.318 GB, free: 7.973 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3937, allocations: 384 / 1.318 GB, free: 7.973 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.3937, allocations: 12.38 kB / 1.318 GB, free: 7.961 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3939, allocations: 87.89 kB / 1.318 GB, free: 7.863 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3939, allocations: 4.188 kB / 1.318 GB, free: 7.859 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3939, allocations: 7.938 kB / 1.318 GB, free: 7.852 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3939, allocations: 4 kB / 1.318 GB, free: 7.848 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.394, allocations: 35.98 kB / 1.318 GB, free: 7.812 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.3946, allocations: 407.8 kB / 1.318 GB, free: 7.367 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.384e-05/0.3946, allocations: 37.16 kB / 1.318 GB, free: 7.312 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.3947, allocations: 17.84 kB / 1.318 GB, free: 7.289 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.3947, allocations: 4.031 kB / 1.318 GB, free: 7.285 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.3947, allocations: 42.55 kB / 1.318 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3947, allocations: 0 / 1.318 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0001904/0.3949, allocations: 61.53 kB / 1.318 GB, free: 7.168 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.395, allocations: 77.11 kB / 1.318 GB, free: 7.074 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.3951, allocations: 156.5 kB / 1.319 GB, free: 6.914 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3952, allocations: 29.7 kB / 1.319 GB, free: 6.879 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.3952, allocations: 108 kB / 1.319 GB, free: 6.77 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 9.308e-06/0.3953, allocations: 3.953 kB / 1.319 GB, free: 6.766 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.3953, allocations: 17.72 kB / 1.319 GB, free: 6.742 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001486/0.3954, allocations: 327.1 kB / 1.319 GB, free: 6.414 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.3955, allocations: 4 kB / 1.319 GB, free: 6.41 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.3955, allocations: 21.7 kB / 1.319 GB, free: 6.383 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.556e-05/0.3955, allocations: 29.64 kB / 1.319 GB, free: 6.348 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3955, allocations: 0 / 1.319 GB, free: 6.348 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.644e-05/0.3956, allocations: 53.66 kB / 1.319 GB, free: 6.289 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3956, allocations: 18.34 kB / 1.319 GB, free: 6.273 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3956, allocations: 3.938 kB / 1.319 GB, free: 6.27 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3957, allocations: 0 / 1.319 GB, free: 6.27 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.3957, allocations: 15.92 kB / 1.319 GB, free: 6.254 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3957, allocations: 0 / 1.319 GB, free: 6.254 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.3958, allocations: 0 / 1.319 GB, free: 6.254 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.3958, allocations: 4 kB / 1.319 GB, free: 6.25 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.788e-05/0.3958, allocations: 114.4 kB / 1.319 GB, free: 6.129 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.3959, allocations: 11.91 kB / 1.319 GB, free: 6.117 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.3959, allocations: 23.67 kB / 1.319 GB, free: 6.09 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3959, allocations: 4 kB / 1.319 GB, free: 6.086 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3959, allocations: 0 / 1.319 GB, free: 6.086 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3959, allocations: 0 / 1.319 GB, free: 6.086 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.3963, allocations: 441.8 kB / 1.32 GB, free: 5.598 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3963, allocations: 0 / 1.32 GB, free: 5.598 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.3964, allocations: 4 kB / 1.32 GB, free: 5.594 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3964, allocations: 4.062 kB / 1.32 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.3964, allocations: 0 / 1.32 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3964, allocations: 0 / 1.32 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3964, allocations: 4 kB / 1.32 GB, free: 5.586 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 9.2e-05/0.3965, allocations: 85.81 kB / 1.32 GB, free: 5.48 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.3965, allocations: 7.953 kB / 1.32 GB, free: 5.473 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.3965, allocations: 0 / 1.32 GB, free: 5.473 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.843e-05/0.3965, allocations: 4.031 kB / 1.32 GB, free: 5.469 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.3965, allocations: 3.984 kB / 1.32 GB, free: 5.465 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3965, allocations: 4 kB / 1.32 GB, free: 5.461 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001051/0.3967, allocations: 121.7 kB / 1.32 GB, free: 5.344 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3967, allocations: 0 / 1.32 GB, free: 5.344 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001785/0.3968, allocations: 7.984 kB / 1.32 GB, free: 5.336 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.0001232/0.397, allocations: 95.25 kB / 1.32 GB, free: 5.234 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001036/0.3971, allocations: 19.94 kB / 1.32 GB, free: 5.215 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3971, allocations: 4 kB / 1.32 GB, free: 5.211 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.738e-06/0.3971, allocations: 4 kB / 1.32 GB, free: 5.207 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.3972, allocations: 15.78 kB / 1.32 GB, free: 5.191 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.3976, allocations: 162.6 kB / 1.32 GB, free: 4.996 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.3979, allocations: 0.7043 MB / 1.321 GB, free: 4.266 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.492e-05/0.398, allocations: 12.36 kB / 1.321 GB, free: 4.254 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.398, allocations: 11.44 kB / 1.321 GB, free: 4.242 MB / 1.014 GB
Notification: Performance of SimCode: time 3.1e-07/0.398, allocations: 0 / 1.321 GB, free: 4.242 MB / 1.014 GB
Notification: Performance of Templates: time 0.003156/0.4011, allocations: 488.5 kB / 1.321 GB, free: 3.766 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.067321246489882]