Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.007491/0.007491, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.002106/0.002106, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003048/0.003048, allocations: 63.91 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3378, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001962/0.3398, allocations: 0.8316 MB / 1.242 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001081/0.3399, allocations: 39.78 kB / 1.242 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.34, allocations: 0 / 1.242 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.34, allocations: 7.875 kB / 1.242 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.3401, allocations: 15.86 kB / 1.242 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.645e-05/0.3402, allocations: 19.98 kB / 1.242 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.3403, allocations: 55.84 kB / 1.242 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3404, allocations: 39.97 kB / 1.242 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.3405, allocations: 31.8 kB / 1.242 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.3405, allocations: 35.83 kB / 1.243 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3406, allocations: 4 kB / 1.243 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.3406, allocations: 8 kB / 1.243 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.3406, allocations: 11.94 kB / 1.243 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.3407, allocations: 43.73 kB / 1.243 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3408, allocations: 71.58 kB / 1.243 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3408, allocations: 0 / 1.243 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3408, allocations: 4 kB / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.984e-06/0.3408, allocations: 0 / 1.243 GB, free: 9 MB / 0.9981 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.0004419/0.3412, allocations: 383.1 kB / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3413, allocations: 12.03 kB / 1.243 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.3413, allocations: 34.75 kB / 1.243 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.3414, allocations: 20.83 kB / 1.243 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3416, allocations: 192.2 kB / 1.243 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3416, allocations: 8.375 kB / 1.243 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.3416, allocations: 8.312 kB / 1.243 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3418, allocations: 91.95 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3418, allocations: 3.938 kB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3418, allocations: 0 / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3418, allocations: 0 / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.112e-05/0.3419, allocations: 43.86 kB / 1.243 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.3425, allocations: 436.7 kB / 1.244 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.366e-05/0.3425, allocations: 41.19 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.3426, allocations: 21.84 kB / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.3426, allocations: 4 kB / 1.244 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3426, allocations: 30.56 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3426, allocations: 0 / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001554/0.3428, allocations: 61.52 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.3429, allocations: 77.11 kB / 1.244 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.343, allocations: 164.9 kB / 1.244 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.343, allocations: 29.7 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.3431, allocations: 100.1 kB / 1.244 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.3431, allocations: 3.953 kB / 1.244 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.3432, allocations: 17.72 kB / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3433, allocations: 326.8 kB / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.3433, allocations: 4 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.832e-05/0.3434, allocations: 21.66 kB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.3434, allocations: 25.72 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3434, allocations: 4 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.441e-05/0.3435, allocations: 69.53 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3436, allocations: 9.031 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.3436, allocations: 0 / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/0.3436, allocations: 0 / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.3436, allocations: 8 kB / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.3436, allocations: 0 / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.3437, allocations: 8 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3437, allocations: 4 kB / 1.245 GB, free: 6.512 MB / 0.9981 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 9.434e-05/0.3438, allocations: 118.4 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.3438, allocations: 11.89 kB / 1.245 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.3439, allocations: 7.875 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3439, allocations: 4 kB / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.3439, allocations: 0 / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3439, allocations: 0 / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.3443, allocations: 478.7 kB / 1.245 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3443, allocations: 0 / 1.245 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.3444, allocations: 11.98 kB / 1.245 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3444, allocations: 0 / 1.245 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.3444, allocations: 0 / 1.245 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3444, allocations: 3.938 kB / 1.245 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3444, allocations: 4 kB / 1.245 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.868e-05/0.3445, allocations: 77.95 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.3446, allocations: 89.05 kB / 1.246 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.3446, allocations: 3.938 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.42e-05/0.3446, allocations: 4 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-06/0.3446, allocations: 96 / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3446, allocations: 4 kB / 1.246 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.466e-05/0.3447, allocations: 117.9 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3447, allocations: 8.031 kB / 1.246 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000189/0.3449, allocations: 4 kB / 1.246 GB, free: 5.469 MB / 0.9981 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.0004383/0.3454, allocations: 0.621 MB / 1.246 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.761e-05/0.3455, allocations: 31.89 kB / 1.246 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3455, allocations: 0 / 1.246 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.216e-05/0.3455, allocations: 4 kB / 1.246 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.3456, allocations: 8 kB / 1.246 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3469, allocations: 1.331 MB / 1.248 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3472, allocations: 0.6963 MB / 1.248 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.021e-05/0.3473, allocations: 8.422 kB / 1.248 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.3473, allocations: 19.44 kB / 1.248 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.3473, allocations: 0 / 1.248 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.3681, allocations: 1.593 MB / 1.25 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/7.995, allocations: 7.875 kB / 1.25 GB, free: 1.129 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches