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.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_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.001488/0.001488, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001674/0.001674, allocations: 192 kB / 16.25 MB, free: 6.633 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.315/2.315, allocations: 390.3 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.539/0.5404, allocations: 140.4 MB / 0.9492 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001689/0.5421, allocations: 0.8885 MB / 0.9501 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.383e-05/0.5422, allocations: 40.09 kB / 0.9501 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.5422, allocations: 3.062 kB / 0.9501 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.5423, allocations: 3.938 kB / 0.9502 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.905e-05/0.5424, allocations: 3.938 kB / 0.9502 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.724e-05/0.5424, allocations: 20.48 kB / 0.9502 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.452e-05/0.5425, allocations: 62.83 kB / 0.9502 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.5426, allocations: 44.44 kB / 0.9503 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.373e-05/0.5427, allocations: 19.88 kB / 0.9503 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.629e-05/0.5427, allocations: 33.38 kB / 0.9503 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.5427, allocations: 9.594 kB / 0.9503 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.5427, allocations: 7 kB / 0.9503 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.5428, allocations: 13.31 kB / 0.9504 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.5428, allocations: 34.95 kB / 0.9504 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.391e-05/0.5429, allocations: 70.67 kB / 0.9505 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.5429, allocations: 0 / 0.9505 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5429, allocations: 1.406 kB / 0.9505 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.5429, allocations: 0 / 0.9505 GB, free: 8.23 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.000276/0.5432, allocations: 385.5 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.5432, allocations: 10.75 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.795e-05/0.5432, allocations: 44.34 kB / 0.9509 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.5433, allocations: 17.25 kB / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.5434, allocations: 187.4 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.5434, allocations: 3.438 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.5434, allocations: 8.656 kB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.5436, allocations: 92.2 kB / 0.9512 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5436, allocations: 3.938 kB / 0.9512 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.5436, allocations: 5.406 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5436, allocations: 5.25 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.362e-05/0.5437, allocations: 43.47 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.544, allocations: 433.9 kB / 0.9516 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.502e-05/0.5441, allocations: 41.28 kB / 0.9517 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.5441, allocations: 19.25 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.5441, allocations: 1.375 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.5441, allocations: 35.94 kB / 0.9517 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.5441, allocations: 0 / 0.9517 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.5443, allocations: 58.03 kB / 0.9518 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.5443, allocations: 86.48 kB / 0.9519 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.5444, allocations: 165 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.5444, allocations: 29.64 kB / 0.9521 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.5445, allocations: 108 kB / 0.9522 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-06/0.5445, allocations: 5.281 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.5445, allocations: 17.84 kB / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.351e-05/0.5445, allocations: 321.6 kB / 0.9525 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.5446, allocations: 6.75 kB / 0.9525 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.5446, allocations: 19.22 kB / 0.9525 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/0.5446, allocations: 29.89 kB / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5446, allocations: 0 / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.562e-05/0.5447, allocations: 59.42 kB / 0.9526 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.5447, allocations: 9.438 kB / 0.9526 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.5447, allocations: 4.062 kB / 0.9526 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.5447, allocations: 1.375 kB / 0.9526 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.5448, allocations: 13.48 kB / 0.9526 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5448, allocations: 1.375 kB / 0.9526 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.5448, allocations: 1.375 kB / 0.9526 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.5448, allocations: 1.375 kB / 0.9526 GB, free: 6.004 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.312e-05/0.5449, allocations: 114 kB / 0.9527 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/0.5449, allocations: 11.97 kB / 0.9528 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.545, allocations: 10.62 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.545, allocations: 4 kB / 0.9528 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.545, allocations: 5.359 kB / 0.9528 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.545, allocations: 1.375 kB / 0.9528 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.5452, allocations: 469.6 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5452, allocations: 0 / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.755e-05/0.5453, allocations: 3.781 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5453, allocations: 1.375 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.5453, allocations: 4.062 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5453, allocations: 1.406 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5453, allocations: 0 / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.374e-05/0.5453, allocations: 87.02 kB / 0.9533 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.5454, allocations: 88.2 kB / 0.9534 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.5454, allocations: 0 / 0.9534 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.795e-05/0.5454, allocations: 5.5 kB / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.03e-05/0.5454, allocations: 13.41 kB / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.5454, allocations: 1.688 kB / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.099e-05/0.5455, allocations: 123.1 kB / 0.9535 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5455, allocations: 1.469 kB / 0.9535 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001871/0.5457, allocations: 6.531 kB / 0.9535 GB, free: 5.051 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.0001935/0.5459, allocations: 0.6236 MB / 0.9542 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.329e-05/0.546, allocations: 18.84 kB / 0.9542 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.546, allocations: 0 / 0.9542 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.546, allocations: 7.781 kB / 0.9542 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.5462, allocations: 6.969 kB / 0.9542 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.5469, allocations: 1.346 MB / 0.9555 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.688e-05/0.547, allocations: 0.7015 MB / 0.9562 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.5471, allocations: 5.438 kB / 0.9562 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.5471, allocations: 23.14 kB / 0.9562 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5471, allocations: 0 / 0.9562 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.5579, allocations: 1.465 MB / 0.9576 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.5582, allocations: 221.2 kB / 0.9579 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.138, allocations: 3 kB / 0.9579 GB, free: 1.441 MB / 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