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.001537/0.001537, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001742/0.001742, allocations: 195.4 kB / 16.25 MB, free: 6.637 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.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.296/2.296, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 68.03 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5508/0.5522, allocations: 140.4 MB / 0.9492 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002019/0.5543, allocations: 0.8781 MB / 0.9501 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000107/0.5544, allocations: 39.91 kB / 0.9501 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.5545, allocations: 2.75 kB / 0.9501 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.997e-05/0.5545, allocations: 3.938 kB / 0.9501 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.285e-05/0.5546, allocations: 3.938 kB / 0.9501 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.173e-05/0.5547, allocations: 24.11 kB / 0.9502 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.221e-05/0.5548, allocations: 63.16 kB / 0.9502 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.5549, allocations: 36.47 kB / 0.9503 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.048e-05/0.5549, allocations: 28.17 kB / 0.9503 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.066e-05/0.555, allocations: 29.3 kB / 0.9503 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.555, allocations: 5.5 kB / 0.9503 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.555, allocations: 6.875 kB / 0.9503 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.555, allocations: 21.28 kB / 0.9503 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.5551, allocations: 30.69 kB / 0.9504 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.398e-05/0.5552, allocations: 71.7 kB / 0.9504 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5552, allocations: 4 kB / 0.9505 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5552, allocations: 0 / 0.9505 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.5552, allocations: 0 / 0.9505 GB, free: 8.305 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.0003056/0.5555, allocations: 386.4 kB / 0.9508 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.5555, allocations: 9.625 kB / 0.9508 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.5556, allocations: 41.48 kB / 0.9509 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.5556, allocations: 13.75 kB / 0.9509 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.5558, allocations: 190.6 kB / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.5558, allocations: 7.125 kB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.5558, allocations: 5.094 kB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.556, allocations: 101.8 kB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.556, allocations: 3.938 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.556, allocations: 1.281 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.556, allocations: 1.625 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.38e-05/0.5561, allocations: 40.22 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.5565, allocations: 441.5 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.79e-05/0.5566, allocations: 36.81 kB / 0.9517 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.5566, allocations: 22.94 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.5566, allocations: 1.156 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.5567, allocations: 35.7 kB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.5567, allocations: 4 kB / 0.9517 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001555/0.5568, allocations: 54.77 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.5569, allocations: 82.33 kB / 0.9519 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.557, allocations: 164.8 kB / 0.952 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.557, allocations: 25.7 kB / 0.952 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.557, allocations: 109.1 kB / 0.9522 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-06/0.557, allocations: 3.906 kB / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.5571, allocations: 22.09 kB / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.76e-05/0.5571, allocations: 321.2 kB / 0.9525 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.5571, allocations: 3.875 kB / 0.9525 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.5572, allocations: 21.45 kB / 0.9525 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.5572, allocations: 26.38 kB / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5572, allocations: 1.281 kB / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.137e-05/0.5573, allocations: 59.05 kB / 0.9526 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.5573, allocations: 12.78 kB / 0.9526 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5573, allocations: 1.062 kB / 0.9526 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.5573, allocations: 3.984 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.5574, allocations: 6.281 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.5574, allocations: 0 / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/0.5574, allocations: 2.219 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.5574, allocations: 1.812 kB / 0.9526 GB, free: 6.086 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.72e-05/0.5575, allocations: 117.2 kB / 0.9527 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.5575, allocations: 12.44 kB / 0.9527 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.007e-05/0.5576, allocations: 14.7 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5576, allocations: 1.312 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5576, allocations: 0 / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5576, allocations: 1.406 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.5578, allocations: 477.9 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5578, allocations: 4.062 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.5579, allocations: 3.312 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5579, allocations: 1.25 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.5579, allocations: 1.344 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5579, allocations: 3.984 kB / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5579, allocations: 5.562 kB / 0.9532 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.698e-05/0.558, allocations: 81.92 kB / 0.9533 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.558, allocations: 91.39 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.558, allocations: 9.109 kB / 0.9534 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.013e-05/0.558, allocations: 9.031 kB / 0.9534 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.5581, allocations: 1.375 kB / 0.9534 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.5581, allocations: 1.5 kB / 0.9534 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.28e-05/0.5581, allocations: 120.2 kB / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5581, allocations: 0 / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001881/0.5583, allocations: 6.719 kB / 0.9535 GB, free: 5.121 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.0002133/0.5586, allocations: 0.621 MB / 0.9541 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.5586, allocations: 14.44 kB / 0.9542 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5586, allocations: 0 / 0.9542 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.5587, allocations: 12.38 kB / 0.9542 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.5588, allocations: 10.03 kB / 0.9542 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.5597, allocations: 1.348 MB / 0.9555 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.641e-05/0.5598, allocations: 0.6945 MB / 0.9562 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.5598, allocations: 7.797 kB / 0.9562 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.5598, allocations: 23.88 kB / 0.9562 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5599, allocations: 0 / 0.9562 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009911/0.5698, allocations: 1.463 MB / 0.9576 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001322/0.5699, allocations: 215 kB / 0.9578 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.113, allocations: 0 / 0.9578 GB, free: 1.5 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