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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00106/0.00106, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001045/0.001045, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.212/1.212, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.435/2.435, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.44 kB / 0.8985 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.232, allocations: 157.4 MB / 1.052 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001938/0.2339, allocations: 0.8842 MB / 1.053 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001067/0.2341, allocations: 47.78 kB / 1.053 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.2341, allocations: 4 kB / 1.053 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.894e-05/0.2342, allocations: 7.922 kB / 1.053 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.08e-05/0.2343, allocations: 3.938 kB / 1.053 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.791e-05/0.2343, allocations: 12 kB / 1.053 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.866e-05/0.2344, allocations: 59.84 kB / 1.053 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2345, allocations: 39.97 kB / 1.053 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.192e-05/0.2346, allocations: 31.84 kB / 1.053 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.29e-05/0.2346, allocations: 31.73 kB / 1.053 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2347, allocations: 4 kB / 1.053 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.2347, allocations: 4 kB / 1.053 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.2347, allocations: 11.98 kB / 1.053 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.2347, allocations: 35.75 kB / 1.053 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.385e-05/0.2348, allocations: 67.97 kB / 1.053 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2348, allocations: 0 / 1.053 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.41e-07/0.2348, allocations: 0 / 1.053 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2349, allocations: 4 kB / 1.053 GB, free: 6.93 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.0003717/0.2352, allocations: 371.3 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2353, allocations: 15.91 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.2353, allocations: 46.73 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.2353, allocations: 8.844 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.2355, allocations: 196.1 kB / 1.054 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2355, allocations: 4.281 kB / 1.054 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.2356, allocations: 12.38 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.2357, allocations: 87.95 kB / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.2357, allocations: 3.938 kB / 1.054 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.2357, allocations: 4 kB / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2357, allocations: 7.984 kB / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.825e-05/0.2358, allocations: 39.92 kB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.2363, allocations: 432.5 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.207e-05/0.2363, allocations: 45.33 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.2364, allocations: 13.78 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.2364, allocations: 4 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2364, allocations: 42.5 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.2364, allocations: 0 / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.00015/0.2366, allocations: 53.48 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.2366, allocations: 81.09 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2368, allocations: 164.6 kB / 1.055 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.2368, allocations: 29.7 kB / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.2369, allocations: 104 kB / 1.055 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-06/0.2369, allocations: 12.14 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.2369, allocations: 21.7 kB / 1.055 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.237, allocations: 314.8 kB / 1.055 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.237, allocations: 7.984 kB / 1.055 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.237, allocations: 21.72 kB / 1.055 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.2371, allocations: 25.72 kB / 1.055 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2371, allocations: 4 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.411e-05/0.2372, allocations: 61.53 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2372, allocations: 9.5 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2372, allocations: 4 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.2372, allocations: 3.938 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.347e-05/0.2373, allocations: 4 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2373, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.2373, allocations: 11.84 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.2373, allocations: 0 / 1.056 GB, free: 4.438 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.318e-05/0.2374, allocations: 117.9 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.2375, allocations: 15.78 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.2375, allocations: 15.86 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2375, allocations: 0 / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2375, allocations: 0 / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2375, allocations: 4 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.2378, allocations: 466.8 kB / 1.056 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2379, allocations: 4 kB / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.2379, allocations: 0 / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2379, allocations: 4 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.2379, allocations: 0 / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2379, allocations: 3.984 kB / 1.056 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2379, allocations: 0 / 1.056 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.176e-05/0.238, allocations: 81.91 kB / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.238, allocations: 89 kB / 1.056 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.2381, allocations: 0 / 1.056 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/0.2381, allocations: 0 / 1.056 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.2381, allocations: 7.938 kB / 1.056 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.2381, allocations: 0 / 1.056 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.672e-05/0.2382, allocations: 127.1 kB / 1.056 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2382, allocations: 3.938 kB / 1.056 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001841/0.2384, allocations: 8 kB / 1.056 GB, free: 3.398 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.0003213/0.2387, allocations: 0.6171 MB / 1.057 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.715e-05/0.2388, allocations: 15.94 kB / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2388, allocations: 0 / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-06/0.2388, allocations: 8.156 kB / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.239, allocations: 15.36 kB / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.24, allocations: 1.342 MB / 1.058 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.2402, allocations: 0.6887 MB / 1.059 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.2403, allocations: 12.5 kB / 1.059 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.2403, allocations: 22.56 kB / 1.059 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2403, allocations: 0 / 1.059 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01018/0.2505, allocations: 1.435 MB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/0.2508, allocations: 227 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.42/1.671, allocations: 0 / 1.061 GB, free: 14.97 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