Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001231/0.001231, allocations: 110 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.00146/0.00146, allocations: 190.3 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.536/1.536, allocations: 225.6 MB / 251 MB, free: 13.01 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.309/3.309, allocations: 496 MB / 0.7835 GB, free: 33.36 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 71.61 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.378, allocations: 173.6 MB / 1.307 GB, free: 1.789 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002287/0.3803, allocations: 0.8406 MB / 1.308 GB, free: 0.9492 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0001306/0.3804, allocations: 43.84 kB / 1.308 GB, free: 0.9062 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.3805, allocations: 7.938 kB / 1.308 GB, free: 0.8984 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.435e-05/0.3806, allocations: 7.875 kB / 1.308 GB, free: 0.8906 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.3807, allocations: 7.875 kB / 1.308 GB, free: 0.8828 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 5.893e-05/0.3807, allocations: 19.97 kB / 1.308 GB, free: 0.8633 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.000143/0.3809, allocations: 63.84 kB / 1.308 GB, free: 0.8008 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.381, allocations: 27.98 kB / 1.308 GB, free: 0.7734 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3811, allocations: 31.8 kB / 1.308 GB, free: 0.7422 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.3812, allocations: 27.86 kB / 1.308 GB, free: 0.7148 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.3812, allocations: 4 kB / 1.308 GB, free: 0.7109 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.3812, allocations: 12 kB / 1.308 GB, free: 0.6992 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.3813, allocations: 19.91 kB / 1.308 GB, free: 0.6797 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.3813, allocations: 31.81 kB / 1.308 GB, free: 0.6484 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.3815, allocations: 75.52 kB / 1.308 GB, free: 0.5742 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3815, allocations: 7.938 kB / 1.308 GB, free: 0.5664 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.784e-06/0.3815, allocations: 0 / 1.308 GB, free: 0.5664 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 6.732e-06/0.3815, allocations: 0 / 1.308 GB, free: 0.5664 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.0005609/0.382, allocations: 298 kB / 1.309 GB, free: 248 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3821, allocations: 8.922 kB / 1.309 GB, free: 240 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.3821, allocations: 16.84 kB / 1.309 GB, free: 224 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.3824, allocations: 142.4 kB / 1.309 GB, free: 56 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3824, allocations: 4.375 kB / 1.309 GB, free: 52 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.3824, allocations: 12.31 kB / 1.309 GB, free: 40 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3826, allocations: 86.3 kB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3826, allocations: 192 / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.3826, allocations: 7.938 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3826, allocations: 4 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.3827, allocations: 43.92 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.3834, allocations: 399.8 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.593e-05/0.3835, allocations: 37.31 kB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.3835, allocations: 21.72 kB / 1.31 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/0.3835, allocations: 0 / 1.31 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.3836, allocations: 34.56 kB / 1.31 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.3836, allocations: 0 / 1.31 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0002113/0.3838, allocations: 61.52 kB / 1.31 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/0.3839, allocations: 77.11 kB / 1.31 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.3841, allocations: 166.6 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.3841, allocations: 25.7 kB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.3842, allocations: 104 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.3842, allocations: 3.984 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.3843, allocations: 25.61 kB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002105/0.3845, allocations: 322.8 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.3845, allocations: 4 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.672e-05/0.3845, allocations: 21.66 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.184e-05/0.3846, allocations: 25.72 kB / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3846, allocations: 0 / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001151/0.3847, allocations: 69.52 kB / 1.31 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3847, allocations: 4 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3847, allocations: 3.938 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3848, allocations: 0 / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.962e-05/0.3848, allocations: 8 kB / 1.31 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3849, allocations: 8.062 kB / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.3849, allocations: 0 / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.3849, allocations: 4 kB / 1.31 GB, free: 14.34 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 0.0001225/0.385, allocations: 122.6 kB / 1.311 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.3851, allocations: 11.91 kB / 1.311 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.3851, allocations: 11.75 kB / 1.311 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3851, allocations: 4 kB / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3851, allocations: 0 / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3851, allocations: 0 / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.3856, allocations: 449.8 kB / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3856, allocations: 0 / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.3857, allocations: 7.984 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3857, allocations: 0 / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3857, allocations: 0 / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.3857, allocations: 7.938 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3857, allocations: 0 / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.3858, allocations: 81.95 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.3858, allocations: 12.03 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.3858, allocations: 3.984 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.3859, allocations: 0 / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.3859, allocations: 4 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3859, allocations: 4 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001295/0.386, allocations: 123.3 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.386, allocations: 0 / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001925/0.3862, allocations: 4 kB / 1.311 GB, free: 13.42 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.0001546/0.3864, allocations: 95.25 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001073/0.3865, allocations: 23.92 kB / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3865, allocations: 0 / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.3865, allocations: 4.188 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.3866, allocations: 15.94 kB / 1.311 GB, free: 13.28 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.387, allocations: 166.5 kB / 1.312 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3874, allocations: 0.6962 MB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.488e-05/0.3874, allocations: 4.438 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.3874, allocations: 15.42 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of SimCode: time 3.61e-07/0.3874, allocations: 4 kB / 1.312 GB, free: 12.33 MB / 1.014 GB
Notification: Performance of Templates: time 0.003077/0.3905, allocations: 476.5 kB / 1.313 GB, free: 11.87 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.54055156558752]