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.0009231/0.000923, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005362/0.005362, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.537/2.537, allocations: 462.7 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.000303, allocations: 9.438 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2515, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.0008892/0.2524, allocations: 0.5453 MB / 1.059 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.891e-05/0.2525, allocations: 39.78 kB / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.2525, allocations: 4 kB / 1.059 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.2526, allocations: 3.938 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.2527, allocations: 7.922 kB / 1.059 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.902e-05/0.2527, allocations: 20 kB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.961e-05/0.2528, allocations: 51.84 kB / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2529, allocations: 39.97 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/0.253, allocations: 23.86 kB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.129e-05/0.253, allocations: 19.86 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.253, allocations: 0 / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-06/0.253, allocations: 7.938 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.2531, allocations: 7.922 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.2531, allocations: 53.45 kB / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.025e-05/0.2532, allocations: 67.97 kB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2532, allocations: 4 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2532, allocations: 0 / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.2532, allocations: 0 / 1.06 GB, free: 3.98 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.0003187/0.2535, allocations: 367.3 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2536, allocations: 15.97 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.2536, allocations: 34.75 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.2537, allocations: 12.84 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.2538, allocations: 192.1 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2538, allocations: 8.375 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.2539, allocations: 8.375 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.254, allocations: 93.98 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.254, allocations: 7.875 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.254, allocations: 4 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.254, allocations: 3.938 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.942e-05/0.2541, allocations: 35.92 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.2546, allocations: 444.5 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.732e-05/0.2546, allocations: 37.34 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.2547, allocations: 17.78 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-06/0.2547, allocations: 0 / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.2547, allocations: 38.56 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2547, allocations: 0 / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000149/0.2549, allocations: 57.47 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.2549, allocations: 77.11 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.255, allocations: 168 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.2551, allocations: 25.7 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.2551, allocations: 107.9 kB / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.774e-06/0.2551, allocations: 4 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.2552, allocations: 13.97 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.2552, allocations: 318.8 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.2553, allocations: 7.938 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.232e-05/0.2553, allocations: 21.72 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/0.2553, allocations: 21.72 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2553, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.55e-05/0.2554, allocations: 65.53 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2554, allocations: 7.938 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2554, allocations: 4 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.2555, allocations: 0 / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.2555, allocations: 4 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2555, allocations: 0 / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.2556, allocations: 11.84 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.2556, allocations: 0 / 1.062 GB, free: 1.52 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.718e-05/0.2556, allocations: 121.9 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.2557, allocations: 11.84 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.2557, allocations: 11.88 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2557, allocations: 0 / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2557, allocations: 0 / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2557, allocations: 15.95 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.2561, allocations: 466.8 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2561, allocations: 4 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.2561, allocations: 11.98 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.2561, allocations: 4 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.2561, allocations: 0 / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2561, allocations: 0 / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2561, allocations: 7.938 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.048e-05/0.2562, allocations: 73.84 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.2563, allocations: 96.94 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.2563, allocations: 4 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.2563, allocations: 4 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.2563, allocations: 0 / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.2563, allocations: 0 / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.462e-05/0.2564, allocations: 127.5 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2564, allocations: 0 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001811/0.2566, allocations: 8 kB / 1.063 GB, free: 472 kB / 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.0003402/0.2569, allocations: 0.6132 MB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.464e-05/0.257, allocations: 23.92 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.257, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.2571, allocations: 4.219 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.2572, allocations: 12.06 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.2583, allocations: 1.338 MB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2586, allocations: 0.6965 MB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.2586, allocations: 4.438 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.2587, allocations: 23.42 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2587, allocations: 0 / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.2747, allocations: 1.363 MB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.2749, allocations: 212.1 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.842, allocations: 1.625 kB / 1.067 GB, free: 12.11 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