Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_9_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.005843/0.005843, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001015/0.001016, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.9504 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2232, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001772/0.225, allocations: 0.8304 MB / 1.088 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001208/0.2251, allocations: 43.78 kB / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.2252, allocations: 4 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.2252, allocations: 11.86 kB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.2253, allocations: 3.938 kB / 1.088 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.341e-05/0.2254, allocations: 19.98 kB / 1.088 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.621e-05/0.2255, allocations: 71.77 kB / 1.088 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2256, allocations: 39.95 kB / 1.088 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.2257, allocations: 31.8 kB / 1.089 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.2257, allocations: 27.86 kB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2258, allocations: 8 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.2258, allocations: 4 kB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.2258, allocations: 19.92 kB / 1.089 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.2258, allocations: 31.75 kB / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.2259, allocations: 79.8 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.226, allocations: 4 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.535e-06/0.226, allocations: 3.984 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.226, allocations: 0 / 1.089 GB, free: 0.7578 MB / 0.8419 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.000374/0.2264, allocations: 383.1 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.2264, allocations: 8.031 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.2264, allocations: 42.73 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.2265, allocations: 8.891 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.2267, allocations: 196.1 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2267, allocations: 8.375 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.2267, allocations: 4.375 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.2269, allocations: 89.44 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.2269, allocations: 7.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2269, allocations: 7.984 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2269, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.194e-05/0.227, allocations: 39.92 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.2275, allocations: 432.6 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.014e-05/0.2275, allocations: 45.34 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.2276, allocations: 17.78 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.2276, allocations: 4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.2276, allocations: 34.55 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2276, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001576/0.2278, allocations: 57.75 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.2278, allocations: 81.11 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.228, allocations: 156.9 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.228, allocations: 33.64 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.228, allocations: 108 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.2281, allocations: 7.891 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.2281, allocations: 17.72 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.2282, allocations: 318.8 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.2282, allocations: 8.031 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.2282, allocations: 21.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.2283, allocations: 25.72 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2283, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.526e-05/0.2284, allocations: 61.53 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2284, allocations: 7.938 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2284, allocations: 12.06 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2284, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.2285, allocations: 7.984 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2285, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.2285, allocations: 7.953 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.2285, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 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.715e-05/0.2286, allocations: 117.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.2287, allocations: 15.97 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.2287, allocations: 15.86 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2287, allocations: 4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2287, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2287, allocations: 4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.2291, allocations: 466.8 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2291, allocations: 4 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.2291, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2291, allocations: 4 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.2291, allocations: 4.062 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2291, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2292, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.341e-05/0.2292, allocations: 77.88 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.2293, allocations: 85.06 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.2293, allocations: 4 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.415e-05/0.2293, allocations: 8.016 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-06/0.2294, allocations: 7.938 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.2294, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.107e-05/0.2294, allocations: 121.3 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2294, allocations: 3.938 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001978/0.2296, allocations: 15.89 kB / 1.092 GB, free: 13.22 MB / 0.8575 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.0003172/0.23, allocations: 0.6132 MB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.292e-05/0.2301, allocations: 19.94 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2301, allocations: 0 / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.2301, allocations: 4 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.2302, allocations: 8 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.2313, allocations: 1.332 MB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.2315, allocations: 0.7006 MB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.2316, allocations: 8.375 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.2316, allocations: 23.42 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.2316, allocations: 4 kB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.2474, allocations: 1.576 MB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.227, allocations: 4.812 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches