Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.001198/0.001198, 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.001039/0.001039, allocations: 192.9 kB / 16.13 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.189/1.189, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.421/2.421, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.55 kB / 0.8985 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2253, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001902/0.2273, allocations: 0.8842 MB / 1.053 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.773e-05/0.2274, allocations: 39.78 kB / 1.053 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.2274, allocations: 4 kB / 1.053 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.2275, allocations: 3.938 kB / 1.053 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.445e-05/0.2276, allocations: 0 / 1.053 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.893e-05/0.2276, allocations: 19.98 kB / 1.053 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.558e-05/0.2277, allocations: 59.78 kB / 1.053 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2278, allocations: 43.97 kB / 1.053 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.2279, allocations: 19.88 kB / 1.053 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.2279, allocations: 31.84 kB / 1.053 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2279, allocations: 7.938 kB / 1.053 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.228, allocations: 4 kB / 1.053 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.228, allocations: 11.94 kB / 1.053 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.228, allocations: 47.66 kB / 1.053 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.928e-05/0.2281, allocations: 60 kB / 1.053 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2281, allocations: 4 kB / 1.053 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.22e-07/0.2281, allocations: 0 / 1.053 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2281, allocations: 0 / 1.053 GB, free: 6.969 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.0003509/0.2285, allocations: 375.3 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2285, allocations: 11.97 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.2286, allocations: 38.75 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.2286, allocations: 16.83 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.2288, allocations: 196.1 kB / 1.054 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.2288, allocations: 8.281 kB / 1.054 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2288, allocations: 12.31 kB / 1.054 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.2289, allocations: 91.89 kB / 1.054 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.229, allocations: 3.938 kB / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.229, allocations: 4 kB / 1.054 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.229, allocations: 4 kB / 1.054 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.975e-05/0.2291, allocations: 47.91 kB / 1.054 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.2295, allocations: 428.6 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.805e-05/0.2296, allocations: 41.25 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.2296, allocations: 21.78 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.2296, allocations: 4 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.2297, allocations: 30.56 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.2297, allocations: 0 / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001516/0.2298, allocations: 57.47 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.2299, allocations: 85.36 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.23, allocations: 164.6 kB / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.23, allocations: 29.7 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.2301, allocations: 100 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-06/0.2301, allocations: 3.906 kB / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.2301, allocations: 17.72 kB / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.328e-05/0.2302, allocations: 318.8 kB / 1.055 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.2302, allocations: 4 kB / 1.055 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.011e-05/0.2302, allocations: 21.72 kB / 1.055 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.2303, allocations: 33.64 kB / 1.055 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2303, allocations: 0 / 1.055 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.597e-05/0.2304, allocations: 57.55 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2304, allocations: 7.938 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2304, allocations: 7.938 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.2304, allocations: 4.062 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.487e-05/0.2305, allocations: 7.984 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2305, allocations: 3.984 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.2305, allocations: 11.84 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.2305, allocations: 0 / 1.056 GB, free: 4.473 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.241e-05/0.2306, allocations: 113.8 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.2306, allocations: 11.84 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.2307, allocations: 11.88 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2307, allocations: 7.922 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2307, allocations: 4.094 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2307, allocations: 7.984 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.231, allocations: 466.8 kB / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.231, allocations: 4 kB / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.2311, allocations: 0 / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2311, allocations: 4 kB / 1.056 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.2311, allocations: 0 / 1.056 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2311, allocations: 4.062 kB / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2311, allocations: 3.938 kB / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.809e-05/0.2312, allocations: 77.83 kB / 1.056 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.2312, allocations: 85.02 kB / 1.056 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.2312, allocations: 4 kB / 1.056 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.23e-05/0.2313, allocations: 8 kB / 1.056 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.2313, allocations: 8.016 kB / 1.056 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.2313, allocations: 0 / 1.056 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.387e-05/0.2314, allocations: 123.1 kB / 1.056 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2314, allocations: 0 / 1.056 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001773/0.2316, allocations: 8 kB / 1.056 GB, free: 3.43 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.0002972/0.2319, allocations: 0.617 MB / 1.057 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.378e-05/0.2319, allocations: 16 kB / 1.057 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2319, allocations: 0 / 1.057 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.618e-06/0.2319, allocations: 7.938 kB / 1.057 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.2321, allocations: 8 kB / 1.057 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009787/0.2331, allocations: 1.342 MB / 1.058 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.2333, allocations: 0.6965 MB / 1.059 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.061e-05/0.2333, allocations: 4.438 kB / 1.059 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.2334, allocations: 27.42 kB / 1.059 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.2334, allocations: 3.938 kB / 1.059 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.2596, allocations: 1.414 MB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.2598, allocations: 218.7 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/1.761, allocations: 2.109 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches