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_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.To_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.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, allocations: 249.5 MB / 257 MB, free: 6.938 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.001135/0.001135, allocations: 177.4 kB / 316.3 MB, free: 3.246 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.798/1.798, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0009729/0.0009731, allocations: 96.3 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.809e-05/1.812e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2324, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7986/1.031, allocations: 131.6 MB / 1.014 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/1.031, allocations: 62.66 kB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002778/1.034, allocations: 1.153 MB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/1.034, allocations: 0 / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.797e-06/1.034, allocations: 3.312 kB / 1.015 GB, free: 5.059 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.0003755/1.035, allocations: 369.5 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.035, allocations: 8.031 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/1.035, allocations: 7.906 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/1.035, allocations: 192.5 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/1.035, allocations: 4 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/1.035, allocations: 4 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001018/1.035, allocations: 34.17 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/1.035, allocations: 83.47 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.035, allocations: 0 / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/1.035, allocations: 4 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/1.035, allocations: 0 / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/1.036, allocations: 417.7 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.53e-05/1.036, allocations: 40.69 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/1.036, allocations: 16.97 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/1.036, allocations: 0 / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/1.036, allocations: 33.3 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/1.036, allocations: 4.75 kB / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001668/1.036, allocations: 48.73 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/1.036, allocations: 81.09 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/1.036, allocations: 122.4 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/1.036, allocations: 25.7 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/1.036, allocations: 114.6 kB / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/1.036, allocations: 3.906 kB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/1.036, allocations: 4.062 kB / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.037, allocations: 322.4 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/1.037, allocations: 7.5 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/1.037, allocations: 23.98 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/1.037, allocations: 7.688 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.037, allocations: 0 / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001032/1.037, allocations: 55.66 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.037, allocations: 16.05 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.037, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/1.037, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/1.037, allocations: 9.312 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.037, allocations: 0 / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.987e-05/1.037, allocations: 7.844 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/1.037, allocations: 0 / 1.017 GB, free: 2.914 MB / 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.387e-05/1.037, allocations: 105 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/1.037, allocations: 3.953 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/1.037, allocations: 23.34 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/1.037, allocations: 224 / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.037, allocations: 0 / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/1.037, allocations: 7.938 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/1.038, allocations: 454.7 kB / 1.017 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.038, allocations: 0 / 1.017 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/1.038, allocations: 5.312 kB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.038, allocations: 4.156 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/1.038, allocations: 3.984 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/1.038, allocations: 0 / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.038, allocations: 7.938 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.563e-05/1.038, allocations: 89.5 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/1.038, allocations: 77.11 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/1.038, allocations: 8.031 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/1.038, allocations: 0 / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/1.038, allocations: 0 / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/1.038, allocations: 4.25 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.832e-05/1.038, allocations: 107.4 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.038, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001811/1.038, allocations: 8 kB / 1.018 GB, free: 1.961 MB / 0.6355 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.0001055/1.038, allocations: 95.25 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.323e-05/1.038, allocations: 26.56 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.038, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/1.038, allocations: 7.984 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/1.038, allocations: 11.45 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/1.039, allocations: 100.2 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/1.039, allocations: 0.7082 MB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.613e-05/1.039, allocations: 4.125 kB / 1.019 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/1.039, allocations: 11.44 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of SimCode: time 2.745e-06/1.039, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of Templates: time 0.00208/1.041, allocations: 329.2 kB / 1.019 GB, free: 0.6406 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches