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_Btu.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_Btu,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_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,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_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.498/1.498, allocations: 251.9 MB / 266.9 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 180.7 kB / 326.5 MB, free: 2.223 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.764/1.764, allocations: 205.4 MB / 0.5775 GB, free: 20.62 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.0008591/0.0008591, allocations: 95.08 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003342, allocations: 10.38 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2555, allocations: 106.3 MB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/0.433, allocations: 131.4 MB / 1.028 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.4333, allocations: 71.94 kB / 1.028 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002788/0.4361, allocations: 1.157 MB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4361, allocations: 0 / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.4361, allocations: 0 / 1.03 GB, free: 11.48 MB / 0.6823 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.0004158/0.4365, allocations: 383.4 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.4366, allocations: 8.25 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.4367, allocations: 11.91 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.4368, allocations: 190.7 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.4369, allocations: 8 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.4369, allocations: 4 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.4371, allocations: 102.3 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4371, allocations: 0 / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.4371, allocations: 4 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4371, allocations: 4 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.4372, allocations: 39.92 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.4378, allocations: 456.5 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.048e-05/0.4379, allocations: 41.28 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.4379, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.438, allocations: 42.67 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.438, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002023/0.4382, allocations: 53.55 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.4382, allocations: 81.11 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.4384, allocations: 157.3 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.4384, allocations: 25.7 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.4385, allocations: 107.9 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-06/0.4385, allocations: 8.094 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.4385, allocations: 4 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4387, allocations: 326.8 kB / 1.032 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.4387, allocations: 8 kB / 1.032 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.4387, allocations: 25.66 kB / 1.032 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.4387, allocations: 8 kB / 1.032 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4388, allocations: 0 / 1.032 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.969e-05/0.4388, allocations: 69.55 kB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4389, allocations: 4 kB / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4389, allocations: 3.938 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.4389, allocations: 4 kB / 1.032 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.439, allocations: 4 kB / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.439, allocations: 0 / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.439, allocations: 4.812 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.439, allocations: 0 / 1.032 GB, free: 9.09 MB / 0.6823 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 () * Number of clocked 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 9.222e-05/0.4391, allocations: 117.8 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.4392, allocations: 19.83 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.4392, allocations: 16.5 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4392, allocations: 96 / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.4393, allocations: 3.984 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4393, allocations: 4 kB / 1.032 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.4397, allocations: 482.8 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4397, allocations: 0 / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.4397, allocations: 8.062 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4397, allocations: 0 / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.4398, allocations: 4 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4398, allocations: 3.984 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4398, allocations: 0 / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.4399, allocations: 95.52 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.44, allocations: 89.03 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.4401, allocations: 4 kB / 1.033 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.508e-05/0.4401, allocations: 0 / 1.033 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.4401, allocations: 0 / 1.033 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.4401, allocations: 0 / 1.033 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.918e-05/0.4402, allocations: 128.9 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4402, allocations: 0 / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000173/0.4404, allocations: 15.84 kB / 1.033 GB, free: 8 MB / 0.6823 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 () * Number of clocked 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.0001431/0.4406, allocations: 103.2 kB / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.268e-05/0.4407, allocations: 23.94 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4407, allocations: 0 / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.408e-05/0.4407, allocations: 8 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.4408, allocations: 9.844 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.4412, allocations: 200.1 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.4415, allocations: 0.7042 MB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.532e-05/0.4415, allocations: 12.42 kB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.4416, allocations: 11.44 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of SimCode: time 4.11e-07/0.4416, allocations: 0 / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of Templates: time 0.0024/0.444, allocations: 443.8 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches