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.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_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.001661/0.001661, allocations: 108 kB / 15.6 MB, free: 132 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.001942/0.001942, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.71/2.71, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001296, allocations: 61.8 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2507, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002033/0.2527, allocations: 0.8273 MB / 1.064 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001179/0.2529, allocations: 39.78 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.2529, allocations: 4 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.253, allocations: 7.875 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.374e-05/0.2531, allocations: 15.86 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.847e-05/0.2531, allocations: 19.98 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.371e-05/0.2532, allocations: 55.86 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.2534, allocations: 47.95 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.2534, allocations: 27.86 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.2535, allocations: 31.78 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.2535, allocations: 8 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.2535, allocations: 4 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.2536, allocations: 15.94 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.2536, allocations: 39.73 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.699e-05/0.2537, allocations: 67.98 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2537, allocations: 0 / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2537, allocations: 0 / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2537, allocations: 0 / 1.065 GB, free: 13.27 MB / 0.8262 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.0003718/0.2541, allocations: 375.3 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2541, allocations: 8.031 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.2542, allocations: 42.75 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.2542, allocations: 16.73 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.2544, allocations: 192.2 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.2544, allocations: 384 / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.2544, allocations: 16.31 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2546, allocations: 97.5 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2546, allocations: 3.938 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.2546, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2546, allocations: 4 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.573e-05/0.2547, allocations: 43.91 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.2552, allocations: 432.5 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/0.2553, allocations: 41.28 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.2553, allocations: 17.78 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.2553, allocations: 4 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.2553, allocations: 38.56 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2553, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000157/0.2555, allocations: 57.47 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.2555, allocations: 81.11 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2557, allocations: 165 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.2557, allocations: 29.7 kB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.2558, allocations: 100 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.345e-06/0.2558, allocations: 8.141 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.2558, allocations: 21.72 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.2559, allocations: 318.8 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.2559, allocations: 4 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.256, allocations: 21.72 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.857e-05/0.256, allocations: 25.7 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.256, allocations: 4 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.567e-05/0.2561, allocations: 57.55 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2561, allocations: 7.938 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2562, allocations: 4 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.2562, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.2562, allocations: 7.984 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2562, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.2563, allocations: 11.84 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.2563, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 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.71e-05/0.2564, allocations: 121.8 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.2564, allocations: 11.84 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.2564, allocations: 11.88 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2564, allocations: 3.938 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.2565, allocations: 7.984 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2565, allocations: 4 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.2568, allocations: 466.8 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2568, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.2569, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2569, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.2569, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2569, allocations: 3.984 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2569, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.886e-05/0.257, allocations: 85.86 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.257, allocations: 85.02 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.257, allocations: 0 / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.575e-05/0.2571, allocations: 4 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.2571, allocations: 11.92 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.2571, allocations: 3.938 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.941e-05/0.2572, allocations: 119.2 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2572, allocations: 0 / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001946/0.2574, allocations: 8 kB / 1.068 GB, free: 9.738 MB / 0.8262 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.0003313/0.2577, allocations: 0.6192 MB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.218e-05/0.2578, allocations: 19.94 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2578, allocations: 0 / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.2579, allocations: 8.156 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.258, allocations: 8 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2591, allocations: 1.319 MB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.2594, allocations: 0.6967 MB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.2594, allocations: 8.516 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.2594, allocations: 19.42 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2595, allocations: 4 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.2749, allocations: 1.549 MB / 1.072 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.307, allocations: 9.562 kB / 1.072 GB, free: 5.418 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_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_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.csv","/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