Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008435/0.0008435, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 185.8 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.858/2.858, allocations: 437.8 MB / 0.7128 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003978, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6697/0.6701, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001327/0.6715, allocations: 0.5471 MB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.6717, allocations: 39.8 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.6718, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.6718, allocations: 3.938 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.6719, allocations: 3.984 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.252e-05/0.672, allocations: 15.98 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.6721, allocations: 63.78 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.6723, allocations: 39.97 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.6724, allocations: 15.88 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.28e-05/0.6725, allocations: 19.86 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.6725, allocations: 4 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.6725, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.6726, allocations: 15.92 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.6726, allocations: 49.45 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.853e-05/0.6727, allocations: 57.84 kB / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6727, allocations: 3.938 kB / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6728, allocations: 0 / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.6728, allocations: 3.938 kB / 1.025 GB, free: 15 MB / 0.7794 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.0005279/0.6733, allocations: 367.2 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.6734, allocations: 16.02 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.6734, allocations: 8.844 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.6737, allocations: 184.2 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.6737, allocations: 12.38 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.6737, allocations: 8.375 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.6739, allocations: 91.89 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.6739, allocations: 192 / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.674, allocations: 11.92 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.674, allocations: 8 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.167e-05/0.6741, allocations: 35.92 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.6747, allocations: 436.6 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.142e-05/0.6747, allocations: 41.25 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.6748, allocations: 17.78 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.6748, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.6748, allocations: 38.55 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.6748, allocations: 0 / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001818/0.675, allocations: 57.48 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.6751, allocations: 77.11 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.6752, allocations: 165.3 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.6752, allocations: 25.7 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.6753, allocations: 112 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.6753, allocations: 3.906 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.6754, allocations: 9.719 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6755, allocations: 323.1 kB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.6755, allocations: 8 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/0.6755, allocations: 17.72 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.558e-05/0.6756, allocations: 33.64 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6756, allocations: 0 / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.281e-05/0.6757, allocations: 57.48 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6757, allocations: 8 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.6757, allocations: 8 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.6757, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.6758, allocations: 7.984 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6758, allocations: 4 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.6758, allocations: 3.906 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.6758, allocations: 4 kB / 1.027 GB, free: 12.57 MB / 0.7794 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 7.367e-05/0.6759, allocations: 109.8 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.676, allocations: 7.906 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.676, allocations: 19.75 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.676, allocations: 4 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.676, allocations: 7.984 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.676, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.6764, allocations: 470.8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6764, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.097e-05/0.6764, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.6764, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.6765, allocations: 4.062 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6765, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6765, allocations: 96 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.862e-05/0.6766, allocations: 89.75 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.6766, allocations: 88.95 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.6766, allocations: 4 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.217e-05/0.6767, allocations: 4.031 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.6767, allocations: 3.984 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.6767, allocations: 4 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.399e-05/0.6768, allocations: 119.2 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6768, allocations: 0 / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001904/0.677, allocations: 8 kB / 1.028 GB, free: 11.53 MB / 0.7794 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.0001113/0.6771, allocations: 99.23 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.326e-05/0.6772, allocations: 23.94 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6772, allocations: 0 / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.6772, allocations: 8 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.6774, allocations: 9.312 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.6778, allocations: 218.3 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.678, allocations: 0.6926 MB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.6781, allocations: 11.44 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of SimCode: time 4e-07/0.6781, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.002178/0.6803, allocations: 0.8481 MB / 1.029 GB, free: 9.547 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches