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.491/1.491, allocations: 249.3 MB / 261.8 MB, free: 5.934 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.00111/0.00111, 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.59/1.59, allocations: 205.2 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.0008897/0.0008896, allocations: 98.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.121e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1795, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6232/0.8027, allocations: 131.3 MB / 1.02 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001598/0.8029, allocations: 68.88 kB / 1.02 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002516/0.8054, allocations: 1.16 MB / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.51e-07/0.8054, allocations: 3.938 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.8054, allocations: 0 / 1.021 GB, free: 2.324 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.000327/0.8058, allocations: 368.7 kB / 1.022 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.8058, allocations: 8.031 kB / 1.022 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.8059, allocations: 7.906 kB / 1.022 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.806, allocations: 182.9 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.8061, allocations: 7.938 kB / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.8061, allocations: 8 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.8063, allocations: 97.48 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.8063, allocations: 0 / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.8063, allocations: 0 / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.8063, allocations: 4 kB / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.12e-05/0.8064, allocations: 35 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.807, allocations: 460.1 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.555e-05/0.8071, allocations: 43.78 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.8071, allocations: 25.34 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.8072, allocations: 0 / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.8072, allocations: 37.28 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.8072, allocations: 0 / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001647/0.8074, allocations: 49.3 kB / 1.023 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.8074, allocations: 81.11 kB / 1.023 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.8076, allocations: 158 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.8076, allocations: 29.69 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.8077, allocations: 109.3 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.8077, allocations: 7.891 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.8077, allocations: 0 / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.8079, allocations: 321.5 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.8079, allocations: 7.5 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.8079, allocations: 29.14 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.808, allocations: 4 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.808, allocations: 3.953 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.146e-05/0.8081, allocations: 65.86 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.8081, allocations: 7.984 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.8081, allocations: 0 / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.8081, allocations: 4 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/0.8082, allocations: 4 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.8082, allocations: 4.062 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.8083, allocations: 7.938 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.8083, allocations: 0 / 1.023 GB, free: 92 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 8.177e-05/0.8084, allocations: 111.6 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.8084, allocations: 15.77 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.8085, allocations: 20.03 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.8085, allocations: 96 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8085, allocations: 7.922 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.8085, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.8089, allocations: 485 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8089, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.8089, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8089, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.8089, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8089, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.809, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.8091, allocations: 94.44 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.8091, allocations: 88.52 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.8091, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.808e-05/0.8092, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.8092, allocations: 11.92 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.8092, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001261/0.8093, allocations: 133.9 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8094, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000166/0.8095, allocations: 8 kB / 1.024 GB, free: 15.06 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.0001222/0.8097, allocations: 99.2 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.175e-05/0.8097, allocations: 15.25 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8098, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.51e-05/0.8098, allocations: 11.75 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.8099, allocations: 11.62 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.8102, allocations: 109.5 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.8105, allocations: 0.6965 MB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.8105, allocations: 8.422 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.8105, allocations: 15.38 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of SimCode: time 4e-07/0.8105, allocations: 4 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of Templates: time 0.002252/0.8128, allocations: 457.8 kB / 1.026 GB, free: 13.62 MB / 0.6511 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