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.005438/0.005438, allocations: 102.9 kB / 15.73 MB, free: 6.039 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.001183/0.001183, allocations: 193.3 kB / 16.68 MB, free: 5.957 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.242/2.242, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8071/0.8085, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002323/0.8108, allocations: 0.8926 MB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001766/0.811, allocations: 57.38 kB / 1.088 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.8111, allocations: 1.25 kB / 1.088 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.565e-05/0.8112, allocations: 9.75 kB / 1.088 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.8113, allocations: 11.88 kB / 1.088 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.37e-05/0.8114, allocations: 26.02 kB / 1.088 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.8115, allocations: 81.61 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.8117, allocations: 49.95 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.812e-05/0.8118, allocations: 45.5 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/0.8119, allocations: 41.05 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.8119, allocations: 11.69 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.8119, allocations: 8.156 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.8119, allocations: 16.8 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.812, allocations: 43.5 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.8122, allocations: 99.44 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8122, allocations: 0.875 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8122, allocations: 0 / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.8122, allocations: 0 / 1.089 GB, free: 4.402 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.0005031/0.8127, allocations: 404.8 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.8128, allocations: 14.5 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.8128, allocations: 38.8 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.8128, allocations: 15.48 kB / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.8131, allocations: 201.4 kB / 1.089 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.8131, allocations: 9.125 kB / 1.089 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.8131, allocations: 5.719 kB / 1.089 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.8133, allocations: 111 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8133, allocations: 4.516 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.8133, allocations: 6.094 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.8133, allocations: 2.281 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.8135, allocations: 41.83 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.814, allocations: 475.2 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.404e-05/0.8141, allocations: 50.38 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.8142, allocations: 31.59 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.8142, allocations: 1 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.8142, allocations: 36.17 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.8142, allocations: 4 kB / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002006/0.8144, allocations: 67.06 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.8145, allocations: 78.88 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.8146, allocations: 173.1 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.8146, allocations: 25.7 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.8147, allocations: 112.7 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.8147, allocations: 11.53 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.8147, allocations: 18.94 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.8148, allocations: 328.1 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.8148, allocations: 10.36 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.8148, allocations: 23.75 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.039e-05/0.8149, allocations: 35.69 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8149, allocations: 0 / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.524e-05/0.815, allocations: 72.23 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.815, allocations: 5.719 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.815, allocations: 9.125 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.8151, allocations: 0.5625 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.8151, allocations: 13.41 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.8152, allocations: 0.9688 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.8152, allocations: 10.88 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.8152, allocations: 9.516 kB / 1.091 GB, free: 2.184 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 5.989e-05/0.8153, allocations: 114.9 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.8153, allocations: 9.953 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.8154, allocations: 13.11 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.8154, allocations: 5.531 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8154, allocations: 0.7344 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8154, allocations: 0.9688 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.8157, allocations: 0.5075 MB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.8157, allocations: 2.797 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.8158, allocations: 6.078 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.8158, allocations: 9.984 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.8158, allocations: 5.281 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.8158, allocations: 1.797 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8158, allocations: 1.719 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.333e-05/0.8159, allocations: 102.8 kB / 1.092 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.816, allocations: 92.44 kB / 1.092 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.816, allocations: 6.766 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.816, allocations: 1.891 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.816, allocations: 2.891 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.8161, allocations: 1.531 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.852e-05/0.8162, allocations: 127.5 kB / 1.092 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8162, allocations: 0.5625 kB / 1.092 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002018/0.8164, allocations: 12.66 kB / 1.092 GB, free: 1.219 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.0003639/0.8167, allocations: 0.6451 MB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.8169, allocations: 35.66 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8169, allocations: 0 / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.393e-05/0.8169, allocations: 17.8 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.8171, allocations: 8.906 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.8185, allocations: 1.428 MB / 1.094 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.8189, allocations: 0.6977 MB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.308e-05/0.8189, allocations: 13.55 kB / 1.095 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.819, allocations: 30.48 kB / 1.095 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.819, allocations: 4.75 kB / 1.095 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.8364, allocations: 1.717 MB / 1.097 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.92, allocations: 16.42 kB / 1.097 GB, free: 14.14 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degF_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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