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.491/1.491, allocations: 249.5 MB / 257 MB, free: 6.879 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.00122/0.00122, allocations: 183.5 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.742/1.742, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009046/0.0009048, allocations: 92.28 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/1.963e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2362, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8059/1.042, allocations: 131.6 MB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/1.042, allocations: 68.08 kB / 1.014 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002687/1.045, allocations: 1.15 MB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/1.045, allocations: 4 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.614e-06/1.045, allocations: 0 / 1.015 GB, free: 5.117 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.0003431/1.046, allocations: 363.2 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.046, allocations: 16.72 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/1.046, allocations: 11.91 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/1.046, allocations: 182.9 kB / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/1.046, allocations: 0 / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/1.046, allocations: 4 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.738e-05/1.046, allocations: 33.12 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/1.046, allocations: 81.52 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.046, allocations: 0 / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/1.046, allocations: 7.938 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/1.046, allocations: 0 / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/1.047, allocations: 426.2 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.33e-05/1.047, allocations: 44.53 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/1.047, allocations: 13.78 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/1.047, allocations: 2.625 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/1.047, allocations: 37.92 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.047, allocations: 0 / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001619/1.047, allocations: 49.55 kB / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/1.047, allocations: 80.55 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/1.047, allocations: 120.4 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/1.047, allocations: 25.7 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/1.047, allocations: 117.6 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.022e-06/1.047, allocations: 3.906 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/1.047, allocations: 0 / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.047, allocations: 316.8 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/1.047, allocations: 11.44 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/1.047, allocations: 23.69 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.334e-05/1.048, allocations: 7.5 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.048, allocations: 0 / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.805e-05/1.048, allocations: 61.2 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.048, allocations: 8 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.048, allocations: 0 / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.048, allocations: 4.062 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/1.048, allocations: 4 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.048, allocations: 4 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/1.048, allocations: 7.844 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/1.048, allocations: 0 / 1.017 GB, free: 2.973 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 6.579e-05/1.048, allocations: 105 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/1.048, allocations: 8.172 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/1.048, allocations: 15.42 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.048, allocations: 3.938 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.048, allocations: 7.938 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/1.048, allocations: 0 / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/1.048, allocations: 453.5 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.048, allocations: 0 / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/1.048, allocations: 4 kB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/1.048, allocations: 0 / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/1.048, allocations: 3.938 kB / 1.017 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.048, allocations: 2.5 kB / 1.017 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.048, allocations: 4.062 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.568e-05/1.049, allocations: 89.81 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/1.049, allocations: 89.03 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/1.049, allocations: 0 / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.254e-05/1.049, allocations: 4 kB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/1.049, allocations: 7.281 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/1.049, allocations: 0 / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.385e-05/1.049, allocations: 107.4 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/1.049, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001762/1.049, allocations: 8 kB / 1.018 GB, free: 2.016 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.0001237/1.049, allocations: 95.25 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.249e-05/1.049, allocations: 22.88 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.049, allocations: 128 / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/1.049, allocations: 8 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/1.049, allocations: 11.08 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/1.05, allocations: 108.2 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/1.05, allocations: 0.7002 MB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.575e-05/1.05, allocations: 8.297 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/1.05, allocations: 15.38 kB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.05, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of Templates: time 0.002047/1.052, allocations: 323.5 kB / 1.019 GB, free: 0.6992 MB / 0.6355 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