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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001244/0.001245, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001248/0.001248, allocations: 193.6 kB / 16.14 MB, free: 6.652 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.287/1.287, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 71.88 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5085/0.5097, allocations: 140.4 MB / 0.9491 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001663/0.5114, allocations: 0.8797 MB / 0.9499 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.071e-05/0.5115, allocations: 44.48 kB / 0.95 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.5115, allocations: 1.562 kB / 0.95 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.546e-05/0.5116, allocations: 3.938 kB / 0.95 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.5116, allocations: 5.156 kB / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.605e-05/0.5117, allocations: 18.58 kB / 0.95 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.96e-05/0.5118, allocations: 59.7 kB / 0.95 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.5119, allocations: 43.06 kB / 0.9501 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.5119, allocations: 15.44 kB / 0.9501 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.512, allocations: 31.81 kB / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.512, allocations: 4.219 kB / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.512, allocations: 4 kB / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.512, allocations: 18.61 kB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.512, allocations: 30.62 kB / 0.9502 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.83e-05/0.5121, allocations: 70.33 kB / 0.9502 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5121, allocations: 4 kB / 0.9502 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.11e-07/0.5121, allocations: 0 / 0.9502 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.5121, allocations: 0 / 0.9502 GB, free: 8.266 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.0002767/0.5124, allocations: 382.5 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.5125, allocations: 9.625 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.5125, allocations: 41.48 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.188e-05/0.5125, allocations: 12.95 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.5127, allocations: 191.2 kB / 0.9509 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.5127, allocations: 15.06 kB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.5127, allocations: 9.875 kB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.5128, allocations: 84.7 kB / 0.951 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.5128, allocations: 5.312 kB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.5128, allocations: 4 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5128, allocations: 6.734 kB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.037e-05/0.5129, allocations: 39.17 kB / 0.951 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.5133, allocations: 438 kB / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.322e-05/0.5133, allocations: 35.94 kB / 0.9515 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.5133, allocations: 20.59 kB / 0.9515 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.5133, allocations: 4 kB / 0.9515 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.015e-05/0.5134, allocations: 35.92 kB / 0.9515 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5134, allocations: 0 / 0.9515 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000131/0.5135, allocations: 55.23 kB / 0.9516 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.5135, allocations: 82.48 kB / 0.9517 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.53e-05/0.5136, allocations: 163.6 kB / 0.9518 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-06/0.5136, allocations: 29.95 kB / 0.9518 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.5137, allocations: 112 kB / 0.9519 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-06/0.5137, allocations: 5.281 kB / 0.952 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.5137, allocations: 17.84 kB / 0.952 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.334e-05/0.5137, allocations: 316.2 kB / 0.9523 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.5138, allocations: 7.25 kB / 0.9523 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.5138, allocations: 22.28 kB / 0.9523 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.5138, allocations: 31.23 kB / 0.9523 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5138, allocations: 4 kB / 0.9523 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.437e-05/0.5139, allocations: 55.77 kB / 0.9524 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.5139, allocations: 10.03 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.5139, allocations: 1.438 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.5139, allocations: 1.312 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.153e-05/0.514, allocations: 12.33 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.514, allocations: 5.422 kB / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.514, allocations: 6.812 kB / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.514, allocations: 1.875 kB / 0.9524 GB, free: 6.039 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 4.049e-05/0.5141, allocations: 112.8 kB / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.5141, allocations: 11.78 kB / 0.9525 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.635e-05/0.5141, allocations: 10.83 kB / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.5141, allocations: 0 / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.5142, allocations: 1.406 kB / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5142, allocations: 0 / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.5144, allocations: 479.1 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5144, allocations: 3.938 kB / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.5144, allocations: 7.375 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5144, allocations: 1.531 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.5144, allocations: 0 / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5144, allocations: 1.469 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5144, allocations: 0 / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.371e-05/0.5145, allocations: 87.11 kB / 0.9531 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.5145, allocations: 88.05 kB / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.5146, allocations: 1.625 kB / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.5146, allocations: 3.984 kB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.5146, allocations: 4.875 kB / 0.9532 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.5146, allocations: 1.344 kB / 0.9532 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.061e-05/0.5147, allocations: 124.5 kB / 0.9533 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5147, allocations: 0 / 0.9533 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000177/0.5148, allocations: 11.16 kB / 0.9533 GB, free: 5.086 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.000187/0.515, allocations: 0.6132 MB / 0.9539 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.132e-05/0.5151, allocations: 22.31 kB / 0.954 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5151, allocations: 1.594 kB / 0.954 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.5151, allocations: 7.375 kB / 0.954 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.5153, allocations: 11.25 kB / 0.954 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.516, allocations: 1.348 MB / 0.9553 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.109e-05/0.5161, allocations: 0.69 MB / 0.956 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.5162, allocations: 12.78 kB / 0.956 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.5162, allocations: 28.09 kB / 0.956 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5162, allocations: 0 / 0.956 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.527/2.043, allocations: 1.412 MB / 0.9574 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/2.043, allocations: 212 kB / 0.9576 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/3.562, allocations: 0 / 0.9576 GB, free: 1.48 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