Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.From_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.008869/0.008869, allocations: 101 kB / 15.73 MB, free: 6.043 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.001878/0.001878, allocations: 188.3 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.438/1.438, 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.504/2.504, allocations: 390.3 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.72 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2871, allocations: 140.4 MB / 1.087 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002247/0.2894, allocations: 0.8138 MB / 1.088 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001614/0.2896, allocations: 43.8 kB / 1.088 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.2897, allocations: 0 / 1.088 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.824e-05/0.2898, allocations: 11.88 kB / 1.088 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.2899, allocations: 15.84 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.048e-05/0.29, allocations: 19.98 kB / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.2901, allocations: 59.84 kB / 1.088 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.2903, allocations: 39.95 kB / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.2903, allocations: 27.86 kB / 1.088 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.2904, allocations: 27.8 kB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.2904, allocations: 12 kB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.2904, allocations: 7.938 kB / 1.089 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.2905, allocations: 15.98 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.2905, allocations: 47.72 kB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.2906, allocations: 62.53 kB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2906, allocations: 0 / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2906, allocations: 0 / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.2907, allocations: 0 / 1.089 GB, free: 0.7539 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.0004471/0.2911, allocations: 380.1 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2912, allocations: 16.02 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.2912, allocations: 42.69 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.2912, allocations: 12.75 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.2915, allocations: 192.2 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2915, allocations: 4.375 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.2915, allocations: 12.31 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.2917, allocations: 93.84 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2917, allocations: 3.938 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2917, allocations: 8 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2917, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.917e-05/0.2918, allocations: 35.98 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.2924, allocations: 436.5 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.944e-05/0.2924, allocations: 41.14 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.2925, allocations: 21.84 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.2925, allocations: 8.031 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.2925, allocations: 34.56 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.2925, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001891/0.2927, allocations: 53.48 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.2928, allocations: 89.34 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2929, allocations: 155.6 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.293, allocations: 33.69 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.293, allocations: 96.05 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.888e-06/0.2931, allocations: 7.891 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.2931, allocations: 17.72 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2932, allocations: 314.8 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.2932, allocations: 7.984 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.2933, allocations: 21.72 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.872e-05/0.2933, allocations: 29.66 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2933, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.294e-05/0.2934, allocations: 57.59 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2934, allocations: 7.938 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2934, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2935, allocations: 4.062 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.2935, allocations: 7.938 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2935, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.2936, allocations: 11.84 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2936, 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 7.339e-05/0.2937, allocations: 113.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.2937, allocations: 15.83 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.2938, allocations: 11.97 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2938, allocations: 3.984 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2938, allocations: 4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2938, allocations: 4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.2942, allocations: 466.8 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2942, allocations: 4 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.2942, allocations: 3.938 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2942, allocations: 4 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2942, allocations: 3.984 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2942, allocations: 4.062 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2943, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.838e-05/0.2943, allocations: 77.78 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.2944, allocations: 89 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2944, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.327e-05/0.2944, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.2945, allocations: 7.969 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.2945, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.56e-05/0.2946, allocations: 120.9 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2946, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001884/0.2948, allocations: 8 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.0003605/0.2951, allocations: 0.6209 MB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.706e-05/0.2952, allocations: 12 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2952, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.2953, allocations: 15.92 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.2954, allocations: 7.906 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.001176/0.2966, allocations: 1.338 MB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.2969, allocations: 0.6924 MB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.2969, allocations: 8.422 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.297, allocations: 19.44 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of SimCode: time 2.354e-06/0.297, allocations: 8 kB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.3145, allocations: 1.584 MB / 1.096 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/7.362, allocations: 8 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_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_From_BtuPerHour.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches