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.006081/0.006081, allocations: 102.6 kB / 15.73 MB, free: 6.039 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.001545/0.001545, allocations: 198 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.363/2.363, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 62.88 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2399, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001714/0.2416, allocations: 0.8292 MB / 1.088 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001021/0.2417, allocations: 43.84 kB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.2418, allocations: 4 kB / 1.088 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.2418, allocations: 7.875 kB / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.128e-05/0.2419, allocations: 7.875 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.314e-05/0.2419, allocations: 23.97 kB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.887e-05/0.242, allocations: 63.84 kB / 1.088 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.2422, allocations: 39.95 kB / 1.088 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.232e-05/0.2422, allocations: 31.8 kB / 1.089 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.2423, allocations: 27.86 kB / 1.089 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.2423, allocations: 8 kB / 1.089 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.2423, allocations: 4 kB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.2423, allocations: 19.92 kB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.2424, allocations: 35.75 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.2425, allocations: 78.44 kB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2425, allocations: 0 / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2425, allocations: 0 / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2425, allocations: 0 / 1.089 GB, free: 0.7969 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.0003837/0.2429, allocations: 380.1 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2429, allocations: 8.031 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.243, allocations: 46.73 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.243, allocations: 12.75 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.2432, allocations: 192.2 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.2432, allocations: 384 / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.2432, allocations: 12.38 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.2434, allocations: 97.33 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2434, allocations: 7.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2434, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2434, allocations: 7.938 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.685e-05/0.2435, allocations: 39.92 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.244, allocations: 432.6 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.406e-05/0.2441, allocations: 45.25 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.2441, allocations: 17.77 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.2441, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.2442, allocations: 38.56 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2442, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001566/0.2443, allocations: 57.7 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.2444, allocations: 77.11 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.2445, allocations: 160.9 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2445, allocations: 25.7 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.2446, allocations: 104 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.2446, allocations: 7.906 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.2446, allocations: 17.72 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.2447, allocations: 318.8 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.2447, allocations: 8.031 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.2448, allocations: 25.64 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.2448, allocations: 21.72 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2448, allocations: 4 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.742e-05/0.2449, allocations: 61.53 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2449, allocations: 7.938 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2449, allocations: 4.062 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.245, allocations: 4 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.245, allocations: 4 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.245, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.318e-05/0.2451, allocations: 11.84 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.2451, allocations: 0 / 1.091 GB, free: 14.32 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.895e-05/0.2451, allocations: 113.8 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.2452, allocations: 11.84 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.2452, allocations: 15.86 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2452, allocations: 4 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2452, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.2452, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.2456, allocations: 466.8 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2456, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.2456, allocations: 4 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2456, allocations: 3.938 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.2457, allocations: 12.06 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2457, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2457, allocations: 3.938 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.817e-05/0.2457, allocations: 81.83 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.2458, allocations: 89 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.2458, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/0.2458, allocations: 4.031 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.2459, allocations: 4 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2459, allocations: 4 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.17e-05/0.246, allocations: 125.2 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.246, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001939/0.2462, allocations: 8 kB / 1.092 GB, free: 13.27 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.0003076/0.2465, allocations: 0.617 MB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.417e-05/0.2466, allocations: 19.94 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2466, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/0.2466, allocations: 4 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.2467, allocations: 11.91 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.2478, allocations: 1.332 MB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.248, allocations: 0.6967 MB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.248, allocations: 8.516 kB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.2481, allocations: 23.42 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.2481, allocations: 4 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.265, allocations: 1.575 MB / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.285, allocations: 3.625 kB / 1.096 GB, free: 8.918 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