Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.To_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_latest_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.005295/0.005295, allocations: 99.86 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.001241/0.001241, allocations: 192.8 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.576/2.576, allocations: 469.4 MB / 0.7422 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.88 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.6685, allocations: 159.1 MB / 1.22 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001879/0.6704, allocations: 0.8195 MB / 1.221 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.6705, allocations: 43.78 kB / 1.221 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.6706, allocations: 0 / 1.221 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.6707, allocations: 11.86 kB / 1.221 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.939e-05/0.6708, allocations: 3.938 kB / 1.221 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.696e-05/0.6708, allocations: 23.98 kB / 1.221 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.438e-05/0.6709, allocations: 63.78 kB / 1.221 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.671, allocations: 51.83 kB / 1.221 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.391e-05/0.6711, allocations: 27.88 kB / 1.221 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.665e-05/0.6712, allocations: 27.84 kB / 1.221 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.6712, allocations: 8 kB / 1.221 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.6712, allocations: 8 kB / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.6712, allocations: 11.94 kB / 1.221 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.6713, allocations: 43.67 kB / 1.221 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.6714, allocations: 67.36 kB / 1.221 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6714, allocations: 4 kB / 1.221 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6714, allocations: 3.938 kB / 1.221 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.6714, allocations: 0 / 1.221 GB, free: 1.086 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.0004056/0.6718, allocations: 383.1 kB / 1.221 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6719, allocations: 12.62 kB / 1.221 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.6719, allocations: 34.75 kB / 1.221 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.672, allocations: 16.83 kB / 1.221 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.6722, allocations: 200.1 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.6722, allocations: 8.375 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.6722, allocations: 4.375 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.6723, allocations: 95.86 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.6724, allocations: 7.938 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.6724, allocations: 0 / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6724, allocations: 3.938 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.718e-05/0.6725, allocations: 39.97 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.673, allocations: 432.6 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.489e-05/0.6731, allocations: 49.28 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.6731, allocations: 21.84 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-06/0.6731, allocations: 0 / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.6732, allocations: 30.56 kB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.6732, allocations: 3.938 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001661/0.6733, allocations: 61.58 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.6734, allocations: 81.05 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.6735, allocations: 160.9 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.6736, allocations: 29.64 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.6736, allocations: 100.1 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-06/0.6736, allocations: 3.953 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.6737, allocations: 21.67 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.6738, allocations: 327.1 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.6738, allocations: 4 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.6738, allocations: 17.72 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.6739, allocations: 25.7 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6739, allocations: 0 / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.211e-05/0.674, allocations: 57.66 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.674, allocations: 15.94 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.674, allocations: 0 / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.674, allocations: 0 / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.6741, allocations: 7.984 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.6741, allocations: 4 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.6741, allocations: 3.938 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.6741, allocations: 4 kB / 1.223 GB, free: 14.59 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 7.183e-05/0.6742, allocations: 122.2 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.6743, allocations: 11.89 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.6743, allocations: 11.88 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6743, allocations: 0 / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6743, allocations: 7.984 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6743, allocations: 4 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.6747, allocations: 474.7 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6747, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.6747, allocations: 4 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.6747, allocations: 4.062 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.6747, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.6747, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6747, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.92e-05/0.6748, allocations: 81.88 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.6749, allocations: 85 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.6749, allocations: 12.03 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.145e-05/0.675, allocations: 0 / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.675, allocations: 3.984 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.675, allocations: 3.938 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.433e-05/0.6751, allocations: 121.3 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6751, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001937/0.6753, allocations: 8 kB / 1.224 GB, free: 13.54 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.6756, allocations: 0.6171 MB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.552e-05/0.6757, allocations: 15.94 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6757, allocations: 0 / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.6757, allocations: 4 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.6759, allocations: 9.844 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.677, allocations: 1.334 MB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.6772, allocations: 0.6924 MB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.6773, allocations: 12.5 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.6773, allocations: 27.42 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.6773, allocations: 0 / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.6936, allocations: 1.583 MB / 1.228 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.779, allocations: 15.31 kB / 1.228 GB, free: 9.188 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches