Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.006858/0.006858, allocations: 98.16 kB / 15.73 MB, free: 6.008 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.001679/0.001679, allocations: 196.3 kB / 16.67 MB, free: 5.926 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.33/1.33, 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 12.0.0-master/package.mo): time 2.633/2.633, allocations: 472.7 MB / 0.7453 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.89 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6492, allocations: 159.9 MB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001736/0.651, allocations: 0.8195 MB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001007/0.6511, allocations: 43.8 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.6511, allocations: 4 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.6512, allocations: 3.938 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.007e-05/0.6513, allocations: 15.84 kB / 1.226 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.309e-05/0.6513, allocations: 19.98 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.293e-05/0.6514, allocations: 63.78 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.6515, allocations: 43.88 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.799e-05/0.6516, allocations: 27.86 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.6516, allocations: 27.8 kB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.6517, allocations: 4 kB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.6517, allocations: 8 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.6517, allocations: 19.92 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.6517, allocations: 35.78 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.6519, allocations: 71.31 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6519, allocations: 0 / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6519, allocations: 4 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.6519, allocations: 0 / 1.226 GB, free: 12.29 MB / 0.9512 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.000366/0.6523, allocations: 379.1 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.6523, allocations: 8.031 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.6523, allocations: 42.75 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.6524, allocations: 12.84 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.6525, allocations: 196.1 kB / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.6526, allocations: 12.28 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.6526, allocations: 12.38 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.6527, allocations: 97.66 kB / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.6527, allocations: 7.875 kB / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.6527, allocations: 0 / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.6528, allocations: 4 kB / 1.227 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.379e-05/0.6528, allocations: 39.92 kB / 1.227 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.6533, allocations: 440.6 kB / 1.228 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.81e-05/0.6534, allocations: 49.33 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.6534, allocations: 13.78 kB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.6534, allocations: 0 / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.6534, allocations: 42.56 kB / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.6534, allocations: 0 / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001466/0.6536, allocations: 57.52 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.6536, allocations: 77.11 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.6538, allocations: 160.3 kB / 1.228 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.6538, allocations: 25.7 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.6538, allocations: 96.09 kB / 1.228 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.6539, allocations: 12.19 kB / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.6539, allocations: 25.67 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.352e-05/0.654, allocations: 318.8 kB / 1.228 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.654, allocations: 7.984 kB / 1.228 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.654, allocations: 17.72 kB / 1.228 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.6541, allocations: 21.72 kB / 1.228 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6541, allocations: 0 / 1.228 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.307e-05/0.6542, allocations: 69.58 kB / 1.229 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.6542, allocations: 7.938 kB / 1.229 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.6542, allocations: 0 / 1.229 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.6542, allocations: 4 kB / 1.229 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.356e-05/0.6543, allocations: 4 kB / 1.229 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.6543, allocations: 3.984 kB / 1.229 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.6543, allocations: 7.938 kB / 1.229 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.6543, allocations: 0 / 1.229 GB, free: 9.789 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 (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 prepare postOptimizeDAE: time 6.616e-05/0.6544, allocations: 122.4 kB / 1.229 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.6544, allocations: 11.89 kB / 1.229 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.6545, allocations: 15.83 kB / 1.229 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6545, allocations: 0 / 1.229 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.6545, allocations: 3.938 kB / 1.229 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.6545, allocations: 0 / 1.229 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.6548, allocations: 466.8 kB / 1.229 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6549, allocations: 4.062 kB / 1.229 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.6549, allocations: 7.938 kB / 1.229 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6549, allocations: 7.922 kB / 1.229 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.6549, allocations: 3.938 kB / 1.229 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.6549, allocations: 4 kB / 1.229 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6549, allocations: 0 / 1.229 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.399e-05/0.655, allocations: 81.89 kB / 1.229 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.655, allocations: 89.05 kB / 1.229 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.6551, allocations: 4 kB / 1.229 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.6551, allocations: 0 / 1.229 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.6551, allocations: 4 kB / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.6551, allocations: 0 / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.027e-05/0.6552, allocations: 129.4 kB / 1.229 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6552, allocations: 0 / 1.229 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001939/0.6554, allocations: 8 kB / 1.229 GB, free: 8.73 MB / 0.9512 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 (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.0002905/0.6557, allocations: 0.6133 MB / 1.23 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.151e-05/0.6558, allocations: 19.94 kB / 1.23 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6558, allocations: 0 / 1.23 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.419e-05/0.6558, allocations: 12.14 kB / 1.23 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.656, allocations: 12 kB / 1.23 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.657, allocations: 1.333 MB / 1.231 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.6572, allocations: 0.6885 MB / 1.232 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.949e-05/0.6572, allocations: 16.5 kB / 1.232 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.6573, allocations: 19.44 kB / 1.232 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.6573, allocations: 0 / 1.232 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.6735, allocations: 1.594 MB / 1.234 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.138/7.811, allocations: 7.875 kB / 1.234 GB, free: 4.402 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_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_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches