Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_9_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.007148/0.007148, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001883/0.001883, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6838/0.6851, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001724/0.6869, allocations: 0.8891 MB / 1.088 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001194/0.687, allocations: 56.39 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.687, allocations: 2.156 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.6871, allocations: 10.27 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.357e-05/0.6872, allocations: 10.98 kB / 1.088 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.582e-05/0.6872, allocations: 27.02 kB / 1.088 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.6873, allocations: 80.31 kB / 1.089 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.6875, allocations: 54.48 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.818e-05/0.6875, allocations: 35.59 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.6876, allocations: 45.42 kB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.6876, allocations: 8.188 kB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.6876, allocations: 8.531 kB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.6877, allocations: 16.91 kB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.6877, allocations: 43.52 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.6878, allocations: 100 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6878, allocations: 0 / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6878, allocations: 0 / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.6878, allocations: 1.094 kB / 1.089 GB, free: 4.438 MB / 0.8575 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.0003401/0.6882, allocations: 407.9 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.6882, allocations: 9.906 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.6883, allocations: 39.47 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.6883, allocations: 19.16 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.6885, allocations: 202 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.6885, allocations: 7.844 kB / 1.089 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.6885, allocations: 10.28 kB / 1.089 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.6887, allocations: 108.4 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.6887, allocations: 4 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.6887, allocations: 5.094 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.6887, allocations: 2.156 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.812e-05/0.6888, allocations: 43.09 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.6893, allocations: 475.7 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.018e-05/0.6893, allocations: 49.41 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/0.6894, allocations: 31.39 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.6894, allocations: 1.031 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.6894, allocations: 36.3 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.6894, allocations: 0 / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001637/0.6896, allocations: 70.83 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.6896, allocations: 78.11 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.6897, allocations: 172.2 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-06/0.6898, allocations: 27.58 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.6898, allocations: 111.8 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.6898, allocations: 11.42 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.6899, allocations: 20.17 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.072e-05/0.6899, allocations: 328.4 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.6899, allocations: 9.297 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.422e-05/0.69, allocations: 23.41 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.581e-05/0.69, allocations: 35.97 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.69, allocations: 128 / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.93e-05/0.6901, allocations: 76.92 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6901, allocations: 5.688 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.6901, allocations: 0 / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.6901, allocations: 5.719 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.6902, allocations: 12.33 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.6902, allocations: 1.594 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.6903, allocations: 10.03 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.6903, allocations: 6.188 kB / 1.091 GB, free: 2.219 MB / 0.8575 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 4.977e-05/0.6903, allocations: 115.3 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.6904, allocations: 9.125 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.6904, allocations: 13.69 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6904, allocations: 1.156 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6904, allocations: 5.891 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.6904, allocations: 3.938 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.6908, allocations: 0.5051 MB / 1.092 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6908, allocations: 1.375 kB / 1.092 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.6908, allocations: 10.48 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6908, allocations: 9.156 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.6908, allocations: 5.812 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6908, allocations: 1.188 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6909, allocations: 3.344 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.856e-05/0.6909, allocations: 97.56 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.691, allocations: 96.56 kB / 1.092 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.691, allocations: 7 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.945e-05/0.691, allocations: 0.75 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.6911, allocations: 3.781 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.6911, allocations: 2.281 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.207e-05/0.6912, allocations: 127.6 kB / 1.092 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6912, allocations: 0 / 1.092 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000204/0.6914, allocations: 12.47 kB / 1.092 GB, free: 1.25 MB / 0.8575 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.0003039/0.6917, allocations: 0.646 MB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.744e-05/0.6918, allocations: 34.78 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6918, allocations: 0 / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.992e-05/0.6918, allocations: 17.88 kB / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.692, allocations: 10.41 kB / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.6931, allocations: 1.429 MB / 1.094 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.6933, allocations: 0.6983 MB / 1.095 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.931e-05/0.6934, allocations: 12.58 kB / 1.095 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.6934, allocations: 26.33 kB / 1.095 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/0.6934, allocations: 4.75 kB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.7095, allocations: 1.704 MB / 1.097 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.17/7.879, allocations: 11.59 kB / 1.097 GB, free: 14.17 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches