Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_latest_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.00668/0.00668, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001874/0.001874, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.635/1.635, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.708/2.708, allocations: 469.4 MB / 0.7422 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 75.88 kB / 1.064 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7706/0.7719, allocations: 159.1 MB / 1.22 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001895/0.7739, allocations: 0.8195 MB / 1.221 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001637/0.7741, allocations: 39.78 kB / 1.221 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.7742, allocations: 4 kB / 1.221 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.448e-05/0.7742, allocations: 7.875 kB / 1.221 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.7744, allocations: 11.92 kB / 1.221 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.901e-05/0.7744, allocations: 19.92 kB / 1.221 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.7745, allocations: 59.84 kB / 1.221 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.7747, allocations: 55.84 kB / 1.221 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.7748, allocations: 23.86 kB / 1.221 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.7748, allocations: 31.84 kB / 1.221 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.7749, allocations: 4 kB / 1.221 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.7749, allocations: 8 kB / 1.221 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.7749, allocations: 15.92 kB / 1.221 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.7749, allocations: 35.69 kB / 1.221 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.7751, allocations: 71.36 kB / 1.221 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7751, allocations: 8 kB / 1.221 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7751, allocations: 0 / 1.221 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7751, allocations: 0 / 1.221 GB, free: 1.008 MB / 0.9356 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.0004746/0.7756, allocations: 375.1 kB / 1.221 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.7756, allocations: 12.62 kB / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.7757, allocations: 42.73 kB / 1.221 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.7757, allocations: 12.84 kB / 1.221 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.776, allocations: 200.1 kB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.776, allocations: 8.359 kB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.776, allocations: 12.38 kB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.7762, allocations: 93.42 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7762, allocations: 3.938 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.7762, allocations: 7.938 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.7762, allocations: 4 kB / 1.222 GB, free: 148 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.7763, allocations: 31.98 kB / 1.222 GB, free: 116 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.7769, allocations: 432.7 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.277e-05/0.777, allocations: 41.28 kB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.777, allocations: 25.83 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.777, allocations: 0 / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.777, allocations: 38.5 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7771, allocations: 0 / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000171/0.7772, allocations: 61.58 kB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.7773, allocations: 85.03 kB / 1.222 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.7774, allocations: 150.3 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.7775, allocations: 25.7 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.7776, allocations: 104.3 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.7776, allocations: 7.953 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.7776, allocations: 25.66 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7777, allocations: 318.8 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/0.7778, allocations: 11.98 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.335e-05/0.7778, allocations: 17.72 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.7778, allocations: 21.72 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7778, allocations: 4 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001019/0.778, allocations: 65.58 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.778, allocations: 7.938 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.778, allocations: 3.938 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.778, allocations: 0 / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.7781, allocations: 11.94 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.7781, allocations: 0 / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/0.7781, allocations: 3.938 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.7781, allocations: 4 kB / 1.223 GB, free: 14.51 MB / 0.9512 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 8.202e-05/0.7782, allocations: 122.4 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.7783, allocations: 11.89 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.7783, allocations: 11.86 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7783, allocations: 4 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7783, allocations: 0 / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7784, allocations: 0 / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.7788, allocations: 478.7 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7788, allocations: 0 / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.7788, allocations: 4 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.7788, allocations: 0 / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.7789, allocations: 0 / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.7789, allocations: 0 / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.7789, allocations: 7.984 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.512e-05/0.779, allocations: 85.89 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.779, allocations: 89.05 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.779, allocations: 0 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.7791, allocations: 0 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-06/0.7791, allocations: 0 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.7791, allocations: 4 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.99e-05/0.7792, allocations: 121.3 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7792, allocations: 4 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002037/0.7794, allocations: 4 kB / 1.224 GB, free: 13.46 MB / 0.9512 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.0003322/0.7797, allocations: 0.6172 MB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.624e-05/0.7798, allocations: 19.94 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.7798, allocations: 160 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-05/0.7799, allocations: 8 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.78, allocations: 11.98 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.7811, allocations: 1.334 MB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.7814, allocations: 0.6963 MB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.145e-05/0.7814, allocations: 12.36 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.7815, allocations: 19.44 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.7815, allocations: 0 / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.7978, allocations: 1.604 MB / 1.228 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.154/7.951, allocations: 3 kB / 1.228 GB, free: 9.125 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches