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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001096/0.001096, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.56/2.56, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 65.3 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2275, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002/0.2296, allocations: 0.825 MB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001199/0.2297, allocations: 39.78 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.2298, allocations: 4 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.2298, allocations: 11.88 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.2299, allocations: 11.86 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.825e-05/0.23, allocations: 19.98 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.914e-05/0.2301, allocations: 59.84 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2302, allocations: 51.95 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.2303, allocations: 27.81 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.368e-05/0.2303, allocations: 27.84 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2303, allocations: 8 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.2304, allocations: 4 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.2304, allocations: 19.92 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.2304, allocations: 39.67 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.353e-05/0.2305, allocations: 68 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2305, allocations: 0 / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2305, allocations: 0 / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2306, allocations: 0 / 1.054 GB, free: 7.027 MB / 0.8106 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.0003526/0.2309, allocations: 379.3 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2309, allocations: 8.625 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.231, allocations: 38.75 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.231, allocations: 12.83 kB / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.2312, allocations: 196.1 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2312, allocations: 8.281 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.2312, allocations: 12.31 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.2314, allocations: 91.89 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.2314, allocations: 7.938 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.2314, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2314, allocations: 4 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.035e-05/0.2315, allocations: 39.97 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.2319, allocations: 436.5 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.589e-05/0.232, allocations: 41.22 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.232, allocations: 17.78 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-06/0.232, allocations: 0 / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.2321, allocations: 38.59 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.2321, allocations: 0 / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001484/0.2322, allocations: 61.47 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.2323, allocations: 77.11 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2324, allocations: 164.2 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.2324, allocations: 25.7 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.2325, allocations: 100 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.2325, allocations: 11.91 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.2325, allocations: 13.97 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.2326, allocations: 322.8 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.2326, allocations: 8 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.2326, allocations: 13.72 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.932e-05/0.2327, allocations: 33.64 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2327, allocations: 4 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.651e-05/0.2328, allocations: 53.61 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2328, allocations: 9.969 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2328, allocations: 3.984 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2328, allocations: 4 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.539e-05/0.2329, allocations: 11.92 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.2329, allocations: 3.938 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.2329, allocations: 11.94 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.2329, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 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.064e-05/0.233, allocations: 115.4 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.2331, allocations: 19.89 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.2331, allocations: 11.88 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2331, allocations: 3.938 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2331, allocations: 3.984 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.2331, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.2334, allocations: 470.8 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2334, allocations: 0 / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.2335, allocations: 8.062 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2335, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.2335, allocations: 4 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2335, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2335, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.138e-05/0.2336, allocations: 81.77 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.2336, allocations: 89.02 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.2336, allocations: 4.031 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.2337, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.2337, allocations: 7.984 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.2337, allocations: 4 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.571e-05/0.2338, allocations: 122.5 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2338, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001811/0.234, allocations: 8 kB / 1.057 GB, free: 3.496 MB / 0.8106 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.0002927/0.2343, allocations: 0.617 MB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.136e-05/0.2343, allocations: 16 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2343, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.2344, allocations: 7.938 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.2345, allocations: 8.281 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/0.2355, allocations: 1.323 MB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.2357, allocations: 0.6963 MB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.2357, allocations: 8.438 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.2358, allocations: 23.42 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.2358, allocations: 4 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.251, allocations: 1.554 MB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.768/7.019, allocations: 17.42 kB / 1.061 GB, free: 15.19 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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