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 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_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.005872/0.005873, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.001438/0.001438, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.562/2.562, allocations: 469.4 MB / 0.7422 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.89 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6694/0.6708, allocations: 159.1 MB / 1.22 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001872/0.6727, allocations: 0.8195 MB / 1.221 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001114/0.6728, allocations: 43.78 kB / 1.221 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.6729, allocations: 0 / 1.221 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.6729, allocations: 15.86 kB / 1.221 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.152e-05/0.673, allocations: 7.938 kB / 1.221 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.475e-05/0.673, allocations: 15.98 kB / 1.221 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.517e-05/0.6731, allocations: 67.78 kB / 1.221 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.6733, allocations: 63.81 kB / 1.221 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.78e-05/0.6733, allocations: 23.88 kB / 1.221 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.6734, allocations: 27.84 kB / 1.221 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.6734, allocations: 4 kB / 1.221 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.6734, allocations: 8 kB / 1.221 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.6734, allocations: 7.938 kB / 1.221 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.6735, allocations: 39.73 kB / 1.221 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.6736, allocations: 79.3 kB / 1.221 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.6736, allocations: 0 / 1.221 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6736, allocations: 0 / 1.221 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.6736, allocations: 4 kB / 1.221 GB, free: 1.043 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003819/0.674, allocations: 383.1 kB / 1.221 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.6741, allocations: 8.625 kB / 1.221 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.6741, allocations: 42.73 kB / 1.221 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.6741, allocations: 12.84 kB / 1.221 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.6743, allocations: 192.1 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.6743, allocations: 8.375 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.6744, allocations: 8.375 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.6745, allocations: 97.58 kB / 1.222 GB, free: 204 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.6745, allocations: 3.938 kB / 1.222 GB, free: 200 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.6745, allocations: 4 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.6745, allocations: 4 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.552e-05/0.6746, allocations: 39.91 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.6751, allocations: 436.6 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.123e-05/0.6752, allocations: 45.34 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.6752, allocations: 17.78 kB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/0.6752, allocations: 0 / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.6753, allocations: 38.55 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.6753, allocations: 4 kB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001568/0.6754, allocations: 53.53 kB / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.6755, allocations: 77.11 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.6756, allocations: 164.4 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.6756, allocations: 25.7 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.6757, allocations: 104.1 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-06/0.6757, allocations: 7.953 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.6758, allocations: 17.92 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6759, allocations: 322.8 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.6759, allocations: 8 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.6759, allocations: 17.66 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/0.676, allocations: 29.7 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.676, allocations: 0 / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.411e-05/0.6761, allocations: 61.59 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6761, allocations: 7.938 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6761, allocations: 0 / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.6761, allocations: 0 / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-05/0.6762, allocations: 11.98 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.6762, allocations: 0 / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.505e-05/0.6762, allocations: 11.94 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.6762, allocations: 0 / 1.223 GB, free: 14.55 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 7.143e-05/0.6763, allocations: 118.3 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.6764, allocations: 16.05 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.6764, allocations: 15.8 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6764, allocations: 3.984 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6764, allocations: 4 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.6764, allocations: 0 / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.6768, allocations: 474.7 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6768, allocations: 0 / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.6768, allocations: 8.062 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6768, allocations: 0 / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.6768, allocations: 0 / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6768, allocations: 4 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6768, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.445e-05/0.6769, allocations: 77.88 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/0.677, allocations: 89.06 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.6771, allocations: 4.031 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.6771, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.6771, allocations: 7.922 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.6771, allocations: 4 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.448e-05/0.6772, allocations: 120.9 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6772, allocations: 0 / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001931/0.6774, allocations: 8 kB / 1.224 GB, free: 13.5 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.0003316/0.6777, allocations: 0.6132 MB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.68e-05/0.6778, allocations: 19.94 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6778, allocations: 0 / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.18e-05/0.6778, allocations: 11.94 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.678, allocations: 12.28 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.6791, allocations: 1.327 MB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.6793, allocations: 0.6963 MB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.6793, allocations: 4.438 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.6794, allocations: 31.42 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.6794, allocations: 0 / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.695, allocations: 1.591 MB / 1.228 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/7.749, allocations: 9.812 kB / 1.228 GB, free: 9.168 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