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_ton.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_ton,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_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,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_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 249.3 MB / 261.9 MB, free: 5.883 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.001019/0.001019, allocations: 184.3 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.528/1.528, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0008262/0.0008262, allocations: 94.45 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.478e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2303, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7445/0.9748, allocations: 131.3 MB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.9752, allocations: 65.78 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00286/0.978, allocations: 1.16 MB / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9781, allocations: 4 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.9781, allocations: 0 / 1.021 GB, free: 2.309 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.0003498/0.9784, allocations: 362.1 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.9785, allocations: 12.03 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.9785, allocations: 7.906 kB / 1.022 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.9787, allocations: 185.9 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.9788, allocations: 4 kB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.9788, allocations: 7.938 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.979, allocations: 103.6 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.979, allocations: 0 / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.979, allocations: 3.438 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.979, allocations: 4 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.657e-05/0.9791, allocations: 36.81 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.9797, allocations: 458.7 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.9798, allocations: 39.84 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.9798, allocations: 16.97 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.9799, allocations: 7.984 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.9799, allocations: 36.8 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.9799, allocations: 0 / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001641/0.9801, allocations: 48.98 kB / 1.023 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.9801, allocations: 81.11 kB / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.9803, allocations: 154.3 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.9803, allocations: 33.77 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.9804, allocations: 112.6 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.354e-06/0.9804, allocations: 3.906 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.9804, allocations: 0 / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.9806, allocations: 322.2 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.9806, allocations: 7.75 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.9806, allocations: 17.41 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/0.9807, allocations: 19.19 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.9807, allocations: 3.953 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.741e-05/0.9808, allocations: 66.09 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.9808, allocations: 4 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.9808, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.9808, allocations: 4 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.9809, allocations: 4 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.9809, allocations: 0 / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.9809, allocations: 7.938 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.981, allocations: 4.062 kB / 1.023 GB, free: 72 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.507e-05/0.981, allocations: 104.9 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.9811, allocations: 19.77 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.9811, allocations: 19.47 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.9811, allocations: 4 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.9812, allocations: 3.938 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.9812, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.9816, allocations: 484.6 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9816, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.9816, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.9816, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.9817, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.9817, allocations: 0.875 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9817, allocations: 4 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.9818, allocations: 98.38 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.9818, allocations: 85.02 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.9819, allocations: 3.984 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.447e-05/0.9819, allocations: 2.125 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.9819, allocations: 4 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.9819, allocations: 4 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.477e-05/0.982, allocations: 124.3 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.982, allocations: 8.031 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001907/0.9822, allocations: 8 kB / 1.024 GB, free: 15.04 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.0001416/0.9824, allocations: 100.2 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.518e-05/0.9825, allocations: 18.69 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9825, allocations: 3.938 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.9825, allocations: 4 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.9826, allocations: 7.562 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.9829, allocations: 112.8 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.9832, allocations: 0.6965 MB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.226e-05/0.9832, allocations: 8.422 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.9832, allocations: 15.38 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/0.9833, allocations: 7.938 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of Templates: time 0.002355/0.9856, allocations: 458 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_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches