Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_9_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.0008083/0.0008083, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005028/0.005028, allocations: 169.5 kB / 16.27 MB, free: 6.336 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.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.129/2.129, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.000282, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5022/0.5025, allocations: 142.4 MB / 0.9552 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.0007174/0.5032, allocations: 0.5345 MB / 0.9557 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.885e-05/0.5033, allocations: 36.19 kB / 0.9557 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.5033, allocations: 1.344 kB / 0.9557 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.5034, allocations: 9.438 kB / 0.9557 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.145e-05/0.5034, allocations: 11.92 kB / 0.9558 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.519e-05/0.5035, allocations: 16.16 kB / 0.9558 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.97e-05/0.5036, allocations: 57.69 kB / 0.9558 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.5037, allocations: 35.22 kB / 0.9559 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.5037, allocations: 17.61 kB / 0.9559 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.5e-05/0.5038, allocations: 23.89 kB / 0.9559 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.5038, allocations: 6.094 kB / 0.9559 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.613e-06/0.5038, allocations: 1.094 kB / 0.9559 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.5038, allocations: 15.02 kB / 0.9559 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.5039, allocations: 46.17 kB / 0.956 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.05e-05/0.5039, allocations: 70.94 kB / 0.956 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.5039, allocations: 0 / 0.956 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5039, allocations: 0.9375 kB / 0.956 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.065e-06/0.504, allocations: 0 / 0.956 GB, free: 6.906 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.0002548/0.5042, allocations: 365.5 kB / 0.9564 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.5043, allocations: 13.25 kB / 0.9564 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.682e-05/0.5043, allocations: 37.03 kB / 0.9564 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.5043, allocations: 17.52 kB / 0.9564 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.5044, allocations: 203.1 kB / 0.9566 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.5045, allocations: 3.594 kB / 0.9566 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.5045, allocations: 9.438 kB / 0.9567 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.5046, allocations: 88.86 kB / 0.9567 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.5046, allocations: 3.938 kB / 0.9567 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.5046, allocations: 9.125 kB / 0.9567 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5046, allocations: 2.344 kB / 0.9568 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.723e-05/0.5047, allocations: 36.05 kB / 0.9568 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.5051, allocations: 437.1 kB / 0.9572 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.459e-05/0.5051, allocations: 37.5 kB / 0.9572 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.5051, allocations: 23.22 kB / 0.9573 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-06/0.5052, allocations: 1.125 kB / 0.9573 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.5052, allocations: 35.69 kB / 0.9573 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5052, allocations: 0 / 0.9573 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001306/0.5053, allocations: 62.69 kB / 0.9574 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.5053, allocations: 82.11 kB / 0.9574 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.5054, allocations: 161.5 kB / 0.9576 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-06/0.5055, allocations: 25.7 kB / 0.9576 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.5055, allocations: 112.8 kB / 0.9577 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-06/0.5055, allocations: 4.906 kB / 0.9577 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.5055, allocations: 10.88 kB / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.5056, allocations: 321.1 kB / 0.958 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.5056, allocations: 11.41 kB / 0.9581 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.605e-05/0.5056, allocations: 14.53 kB / 0.9581 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/0.5056, allocations: 30.72 kB / 0.9581 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5057, allocations: 0 / 0.9581 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.76e-05/0.5057, allocations: 54.91 kB / 0.9581 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.5057, allocations: 15.31 kB / 0.9582 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.5057, allocations: 5.156 kB / 0.9582 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.405e-06/0.5058, allocations: 0 / 0.9582 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/0.5058, allocations: 6.469 kB / 0.9582 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.5058, allocations: 3.984 kB / 0.9582 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.5059, allocations: 6.062 kB / 0.9582 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.5059, allocations: 2.219 kB / 0.9582 GB, free: 4.695 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.109e-05/0.5059, allocations: 113 kB / 0.9583 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.506, allocations: 12.25 kB / 0.9583 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.506, allocations: 10.22 kB / 0.9583 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.506, allocations: 5.188 kB / 0.9583 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.506, allocations: 1.062 kB / 0.9583 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.506, allocations: 0 / 0.9583 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.5062, allocations: 478.3 kB / 0.9588 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5062, allocations: 1.062 kB / 0.9588 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/0.5063, allocations: 2.812 kB / 0.9588 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5063, allocations: 1.094 kB / 0.9588 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.5063, allocations: 5.094 kB / 0.9588 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5063, allocations: 0 / 0.9588 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5063, allocations: 0.9375 kB / 0.9588 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.467e-05/0.5063, allocations: 83.08 kB / 0.9589 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.5064, allocations: 91.23 kB / 0.959 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.5064, allocations: 1.25 kB / 0.959 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.918e-05/0.5064, allocations: 5.25 kB / 0.959 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-06/0.5064, allocations: 5.266 kB / 0.959 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.5064, allocations: 5.047 kB / 0.959 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.5065, allocations: 119.7 kB / 0.9591 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5065, allocations: 0 / 0.9591 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001738/0.5067, allocations: 6.875 kB / 0.9591 GB, free: 3.746 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.0001836/0.5069, allocations: 0.6204 MB / 0.9597 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.775e-05/0.5069, allocations: 19.02 kB / 0.9597 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5069, allocations: 0 / 0.9597 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.709e-06/0.507, allocations: 7.812 kB / 0.9597 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.5071, allocations: 7.562 kB / 0.9597 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007319/0.5078, allocations: 1.342 MB / 0.961 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.403e-05/0.5079, allocations: 0.7017 MB / 0.9617 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.508, allocations: 5.062 kB / 0.9617 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.508, allocations: 27.89 kB / 0.9618 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.508, allocations: 0 / 0.9618 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5314/1.039, allocations: 1.365 MB / 0.9631 GB, free: 496 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/1.04, allocations: 215.3 kB / 0.9633 GB, free: 236 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.609, allocations: 0 / 0.9633 GB, free: 236 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches