Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 175.6 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009256/0.0009248, allocations: 101.9 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004222, allocations: 8.969 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2634, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.4573, allocations: 131.4 MB / 1.028 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.4576, allocations: 71.95 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002896/0.4605, allocations: 1.165 MB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.507e-06/0.4605, allocations: 0 / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.4606, allocations: 4 kB / 1.03 GB, free: 11.06 MB / 0.6823 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.0004417/0.461, allocations: 374.9 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.4611, allocations: 8.031 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.4611, allocations: 7.906 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.4613, allocations: 178.9 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.4614, allocations: 8 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.4614, allocations: 12 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.4616, allocations: 98.06 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4616, allocations: 0 / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.4616, allocations: 7.984 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4617, allocations: 4 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.779e-05/0.4618, allocations: 39.92 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007194/0.4625, allocations: 460.5 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.744e-05/0.4626, allocations: 41.25 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.4626, allocations: 4 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.4626, allocations: 42.55 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4626, allocations: 0 / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002074/0.4628, allocations: 53.61 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.4629, allocations: 77.11 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.4631, allocations: 157.6 kB / 1.031 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.4631, allocations: 29.7 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.4632, allocations: 111.9 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.4632, allocations: 7.844 kB / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.4632, allocations: 0 / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4634, allocations: 322.8 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.4634, allocations: 8 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.4634, allocations: 17.72 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.4635, allocations: 15.94 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.4635, allocations: 0 / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.006e-05/0.4636, allocations: 65.55 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4636, allocations: 8 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4636, allocations: 0 / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4636, allocations: 0 / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.4637, allocations: 8.156 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.4637, allocations: 4 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.4638, allocations: 4.609 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.4638, allocations: 8.047 kB / 1.032 GB, free: 8.672 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.528e-05/0.4639, allocations: 113.8 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.4639, allocations: 19.77 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.464, allocations: 8.562 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.464, allocations: 4 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.464, allocations: 0 / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.464, allocations: 0 / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.4644, allocations: 486.8 kB / 1.032 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4644, allocations: 0 / 1.032 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.4644, allocations: 4 kB / 1.032 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4645, allocations: 0 / 1.032 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.4645, allocations: 3.938 kB / 1.032 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4645, allocations: 3.984 kB / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4645, allocations: 0 / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.4646, allocations: 99.58 kB / 1.032 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.4647, allocations: 89 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.4647, allocations: 0 / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.491e-05/0.4647, allocations: 4 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.4647, allocations: 4 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.4648, allocations: 0 / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001017/0.4649, allocations: 124.9 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4649, allocations: 4.031 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001803/0.4651, allocations: 19.84 kB / 1.033 GB, free: 7.586 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001463/0.4652, allocations: 99.23 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.612e-05/0.4653, allocations: 19.94 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4653, allocations: 0 / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.284e-05/0.4653, allocations: 8 kB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.4655, allocations: 8.641 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.4659, allocations: 194.2 kB / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.4662, allocations: 0.7043 MB / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.913e-05/0.4662, allocations: 12.36 kB / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.4663, allocations: 11.44 kB / 1.034 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/0.4663, allocations: 0 / 1.034 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of Templates: time 0.002446/0.4687, allocations: 447.9 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches