Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_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.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 249.3 MB / 261.9 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009958/0.0009958, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.1 MB / 0.572 GB, free: 10.66 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.0007829/0.0007828, allocations: 82.53 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.399e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1877, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6675/0.8552, allocations: 131.3 MB / 1.02 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.8555, allocations: 72.56 kB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002699/0.8582, allocations: 1.163 MB / 1.021 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8582, allocations: 7.938 kB / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.8582, allocations: 0 / 1.021 GB, free: 2.312 MB / 0.6355 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.0003191/0.8586, allocations: 365.8 kB / 1.022 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.8586, allocations: 8.031 kB / 1.022 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.8587, allocations: 7.906 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.8588, allocations: 182.9 kB / 1.022 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.8589, allocations: 4 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.8589, allocations: 7.062 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.859, allocations: 99.03 kB / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.8591, allocations: 0 / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.8591, allocations: 0 / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.8591, allocations: 4 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.8592, allocations: 39.11 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.8598, allocations: 463.7 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.696e-05/0.8598, allocations: 43.72 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.8599, allocations: 21.59 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.8599, allocations: 0 / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.8599, allocations: 34.17 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8599, allocations: 0 / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001498/0.8601, allocations: 52.84 kB / 1.023 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.8601, allocations: 81.11 kB / 1.023 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.8603, allocations: 155.1 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.8603, allocations: 29.77 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.8604, allocations: 110.4 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.8604, allocations: 7.031 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.8604, allocations: 0 / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8605, allocations: 322.1 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.8606, allocations: 7.188 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.8606, allocations: 20.97 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.753e-05/0.8606, allocations: 15.42 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8607, allocations: 3.953 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.898e-05/0.8608, allocations: 60.48 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.8608, allocations: 4 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.8608, allocations: 96 / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8608, allocations: 7.984 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.8609, allocations: 7.984 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8609, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.8609, allocations: 11.44 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.861, allocations: 6.938 kB / 1.023 GB, free: 80 kB / 0.6355 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 () * 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 7.924e-05/0.861, allocations: 108.9 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.8611, allocations: 19.7 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.8611, allocations: 16.42 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.8612, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8612, allocations: 3.938 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8612, allocations: 3.984 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.8616, allocations: 479.3 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8616, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.8616, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.8616, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.8617, allocations: 3.984 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8617, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.8617, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.8618, allocations: 90.83 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.8618, allocations: 92.06 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.8619, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.33e-05/0.8619, allocations: 3.938 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.8619, allocations: 4 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.8619, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.35e-05/0.862, allocations: 129.2 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.862, allocations: 4.031 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001671/0.8622, allocations: 8 kB / 1.024 GB, free: 15.05 MB / 0.6511 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 () * 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.000136/0.8623, allocations: 103.9 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.766e-05/0.8624, allocations: 18.62 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8624, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-05/0.8625, allocations: 7.938 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.8626, allocations: 7.688 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.8629, allocations: 113.1 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.8631, allocations: 0.6965 MB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.8632, allocations: 4.438 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.8632, allocations: 15.38 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of SimCode: time 4.21e-07/0.8632, allocations: 4 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of Templates: time 0.002226/0.8654, allocations: 469.6 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches