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.001199/0.001199, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.306/2.306, allocations: 390.3 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 0.8127 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6176/0.6189, allocations: 140.4 MB / 0.9497 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002042/0.621, allocations: 0.8181 MB / 0.9505 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.296e-05/0.6211, allocations: 49.47 kB / 0.9506 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.6212, allocations: 1.531 kB / 0.9506 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.6212, allocations: 11.86 kB / 0.9506 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.6213, allocations: 5.344 kB / 0.9506 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.178e-05/0.6213, allocations: 19.11 kB / 0.9506 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.62e-05/0.6214, allocations: 68.03 kB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.6216, allocations: 41.2 kB / 0.9507 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.6216, allocations: 26.67 kB / 0.9507 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.6217, allocations: 29.3 kB / 0.9508 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.6217, allocations: 5.438 kB / 0.9508 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.6217, allocations: 10.81 kB / 0.9508 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.6217, allocations: 18.67 kB / 0.9508 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.6217, allocations: 25.31 kB / 0.9508 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.98e-05/0.6218, allocations: 83.62 kB / 0.9509 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6218, allocations: 0 / 0.9509 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6218, allocations: 0 / 0.9509 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.6219, allocations: 1.375 kB / 0.9509 GB, free: 8.184 MB / 0.7169 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.000324/0.6222, allocations: 381.1 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.6222, allocations: 9.625 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.6223, allocations: 41.48 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.6223, allocations: 10.34 kB / 0.9513 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.6225, allocations: 189.8 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.6225, allocations: 3.125 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.6225, allocations: 13.86 kB / 0.9515 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.6227, allocations: 95.42 kB / 0.9516 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.6227, allocations: 3.938 kB / 0.9516 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.6227, allocations: 5.375 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.6227, allocations: 1.375 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.452e-05/0.6228, allocations: 39.17 kB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.6233, allocations: 437.3 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.494e-05/0.6233, allocations: 37.69 kB / 0.9521 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.6234, allocations: 23.23 kB / 0.9521 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.6234, allocations: 1.125 kB / 0.9521 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.6234, allocations: 35.97 kB / 0.9522 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6234, allocations: 0 / 0.9522 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001701/0.6236, allocations: 62.25 kB / 0.9522 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.6236, allocations: 82.64 kB / 0.9523 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.6237, allocations: 159.8 kB / 0.9525 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.523e-06/0.6238, allocations: 25.7 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.6238, allocations: 112.6 kB / 0.9526 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.6238, allocations: 3.906 kB / 0.9526 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.6239, allocations: 25.73 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.385e-05/0.6239, allocations: 321.6 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.624, allocations: 2.719 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/0.624, allocations: 23.39 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.624, allocations: 26.97 kB / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.624, allocations: 0 / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001094/0.6242, allocations: 65.84 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6242, allocations: 9.031 kB / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.6242, allocations: 1.656 kB / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.6242, allocations: 3.938 kB / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.6243, allocations: 6.406 kB / 0.9531 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.6243, allocations: 0 / 0.9531 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/0.6243, allocations: 2.562 kB / 0.9531 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.6244, allocations: 1.25 kB / 0.9531 GB, free: 5.965 MB / 0.7169 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 5.863e-05/0.6244, allocations: 118.1 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.6245, allocations: 12 kB / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.6245, allocations: 10.3 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6245, allocations: 1.625 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6245, allocations: 0 / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6246, allocations: 1.25 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.6249, allocations: 473.5 kB / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6249, allocations: 5.562 kB / 0.9536 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.6249, allocations: 6.375 kB / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6249, allocations: 1.375 kB / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.6249, allocations: 0 / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6249, allocations: 1.375 kB / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.6249, allocations: 7.922 kB / 0.9537 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.711e-05/0.625, allocations: 79.06 kB / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.625, allocations: 96.34 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.6251, allocations: 1.688 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.944e-05/0.6251, allocations: 3.938 kB / 0.9538 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.6251, allocations: 1.781 kB / 0.9538 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.6251, allocations: 0 / 0.9538 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.249e-05/0.6252, allocations: 124.7 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6252, allocations: 0 / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001797/0.6254, allocations: 7.75 kB / 0.954 GB, free: 5.012 MB / 0.7169 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.0002296/0.6256, allocations: 0.6151 MB / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.663e-05/0.6257, allocations: 14.41 kB / 0.9546 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6257, allocations: 5.281 kB / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.6257, allocations: 12.41 kB / 0.9546 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.6259, allocations: 10.45 kB / 0.9546 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.6267, allocations: 1.322 MB / 0.9559 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.6269, allocations: 0.6954 MB / 0.9566 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.6269, allocations: 8.453 kB / 0.9566 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.6269, allocations: 18.31 kB / 0.9566 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6269, allocations: 1.375 kB / 0.9566 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.6461, allocations: 1.548 MB / 0.9581 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/7.421, allocations: 5.5 kB / 0.9581 GB, free: 1.555 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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