Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00467/0.00467, allocations: 97 kB / 15.73 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 192.9 kB / 16.67 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.579/2.579, allocations: 469.4 MB / 0.7422 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6635/0.6648, allocations: 159.1 MB / 1.22 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002154/0.667, allocations: 0.8807 MB / 1.221 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001777/0.6672, allocations: 59.7 kB / 1.221 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.6673, allocations: 0 / 1.221 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/0.6673, allocations: 11.81 kB / 1.221 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.6675, allocations: 15.8 kB / 1.221 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.222e-05/0.6675, allocations: 27.98 kB / 1.221 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.6677, allocations: 83.83 kB / 1.221 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.6678, allocations: 53.08 kB / 1.221 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.318e-05/0.6679, allocations: 43.72 kB / 1.221 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.668, allocations: 39.78 kB / 1.221 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.668, allocations: 8 kB / 1.221 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.668, allocations: 8 kB / 1.221 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.6681, allocations: 11.94 kB / 1.221 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.6681, allocations: 47.73 kB / 1.221 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.6683, allocations: 103.1 kB / 1.221 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6683, allocations: 0 / 1.221 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6683, allocations: 4 kB / 1.221 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.6683, allocations: 0 / 1.221 GB, free: 0.9219 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004145/0.6687, allocations: 409.8 kB / 1.221 GB, free: 484 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.6688, allocations: 8.625 kB / 1.222 GB, free: 476 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.6688, allocations: 38.75 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.6688, allocations: 12.84 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.6691, allocations: 208.3 kB / 1.222 GB, free: 168 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.6691, allocations: 4.562 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.6691, allocations: 12.38 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.6693, allocations: 117.9 kB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.6693, allocations: 0 / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.6693, allocations: 0 / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6693, allocations: 4 kB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.6694, allocations: 51.91 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/0.67, allocations: 476.5 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.704e-05/0.6701, allocations: 45.16 kB / 1.222 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.6701, allocations: 29.77 kB / 1.222 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.6701, allocations: 0 / 1.222 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.6702, allocations: 42.56 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.6702, allocations: 0 / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001949/0.6704, allocations: 65.58 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.6704, allocations: 81.11 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.6706, allocations: 167.3 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.6706, allocations: 29.7 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.6707, allocations: 112.2 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.6707, allocations: 20.11 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.6707, allocations: 17.72 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.6709, allocations: 326.7 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.6709, allocations: 8 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.6709, allocations: 25.59 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.671, allocations: 45.69 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.671, allocations: 4 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.693e-05/0.6711, allocations: 65.58 kB / 1.223 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.6711, allocations: 9.719 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6711, allocations: 0 / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.6711, allocations: 0 / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.6712, allocations: 8 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.6712, allocations: 0 / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.6713, allocations: 11.89 kB / 1.223 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.6713, allocations: 7.938 kB / 1.223 GB, free: 14.23 MB / 0.9512 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.587e-05/0.6714, allocations: 122.4 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.6714, allocations: 11.95 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.6715, allocations: 8.562 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6715, allocations: 4 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6715, allocations: 0 / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.6715, allocations: 3.938 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.6719, allocations: 0.5082 MB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6719, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.6719, allocations: 4 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.672, allocations: 7.938 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.672, allocations: 0 / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.672, allocations: 3.938 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.672, allocations: 4.125 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.6721, allocations: 107.7 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.6722, allocations: 93.05 kB / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.6722, allocations: 3.938 kB / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.038e-05/0.6722, allocations: 4 kB / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.6722, allocations: 11.92 kB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.6722, allocations: 0 / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.586e-05/0.6723, allocations: 132 kB / 1.224 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6723, allocations: 0 / 1.224 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002022/0.6725, allocations: 8 kB / 1.224 GB, free: 13.08 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003478/0.6729, allocations: 0.6422 MB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.237e-05/0.673, allocations: 35.86 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.673, allocations: 0 / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.095e-05/0.673, allocations: 11.94 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.6732, allocations: 8 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.6744, allocations: 1.43 MB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.6747, allocations: 0.6963 MB / 1.227 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.222e-05/0.6747, allocations: 20.53 kB / 1.227 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.6748, allocations: 31.42 kB / 1.227 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.6748, allocations: 0 / 1.227 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.6904, allocations: 1.696 MB / 1.229 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.013/7.704, allocations: 21.92 kB / 1.229 GB, free: 8.418 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches