Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001608/0.001608, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002278/0.002278, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.454/2.454, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 71.88 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7245/0.7261, allocations: 140.4 MB / 0.9493 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001874/0.7281, allocations: 0.8652 MB / 0.9501 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.711e-05/0.7282, allocations: 44.56 kB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/0.7282, allocations: 2.875 kB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.339e-05/0.7283, allocations: 3.938 kB / 0.9501 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.666e-05/0.7284, allocations: 3.938 kB / 0.9501 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.689e-05/0.7284, allocations: 20.14 kB / 0.9502 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.7285, allocations: 55.75 kB / 0.9502 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.7287, allocations: 47.83 kB / 0.9503 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.7287, allocations: 28.3 kB / 0.9503 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.7288, allocations: 28.77 kB / 0.9503 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.7288, allocations: 5.875 kB / 0.9503 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.7289, allocations: 5.188 kB / 0.9503 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.7289, allocations: 19.45 kB / 0.9503 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.7289, allocations: 34.42 kB / 0.9504 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.356e-05/0.729, allocations: 74.55 kB / 0.9505 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.729, allocations: 0 / 0.9505 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.729, allocations: 0 / 0.9505 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.729, allocations: 1.625 kB / 0.9505 GB, free: 8.117 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.0003675/0.7294, allocations: 377.9 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7295, allocations: 12.72 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.7295, allocations: 45.67 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.7295, allocations: 13.28 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.7297, allocations: 187.1 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.7297, allocations: 7.125 kB / 0.9511 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.7298, allocations: 9.844 kB / 0.9511 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.7299, allocations: 98.69 kB / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.7299, allocations: 3.938 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.73, allocations: 1.375 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.73, allocations: 2.75 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.548e-05/0.73, allocations: 35.23 kB / 0.9512 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.7305, allocations: 444.5 kB / 0.9516 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.516e-05/0.7306, allocations: 37.28 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.7306, allocations: 16.59 kB / 0.9517 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.7306, allocations: 4.094 kB / 0.9517 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.7306, allocations: 43.86 kB / 0.9517 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.7306, allocations: 0 / 0.9517 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001597/0.7308, allocations: 55.23 kB / 0.9518 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.7308, allocations: 77.11 kB / 0.9519 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.731, allocations: 163.6 kB / 0.952 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.731, allocations: 27.33 kB / 0.952 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.731, allocations: 115.9 kB / 0.9522 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.689e-06/0.7311, allocations: 5.281 kB / 0.9522 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.7311, allocations: 16.47 kB / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.7311, allocations: 321.6 kB / 0.9525 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.7312, allocations: 2.75 kB / 0.9525 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.7312, allocations: 23.2 kB / 0.9525 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.7312, allocations: 29.91 kB / 0.9525 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.7312, allocations: 1.375 kB / 0.9525 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.883e-05/0.7313, allocations: 54.11 kB / 0.9526 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7313, allocations: 9.438 kB / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7313, allocations: 1.375 kB / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.7314, allocations: 3.984 kB / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.7314, allocations: 9.438 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.7314, allocations: 1.375 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.7315, allocations: 5.438 kB / 0.9526 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.7315, allocations: 2.844 kB / 0.9526 GB, free: 5.898 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 6.355e-05/0.7315, allocations: 112.6 kB / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.7316, allocations: 15.95 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.7316, allocations: 14.61 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7316, allocations: 5.312 kB / 0.9528 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7316, allocations: 0 / 0.9528 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7316, allocations: 1.562 kB / 0.9528 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.7319, allocations: 474 kB / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.732, allocations: 0 / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.732, allocations: 3.031 kB / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.732, allocations: 1 kB / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.732, allocations: 5.031 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.732, allocations: 1 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.732, allocations: 0 / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.616e-05/0.7321, allocations: 86.39 kB / 0.9533 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.7321, allocations: 89.14 kB / 0.9534 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.7321, allocations: 5.453 kB / 0.9534 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.7322, allocations: 4 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.7322, allocations: 1.375 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.7322, allocations: 1.375 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.187e-05/0.7323, allocations: 123.6 kB / 0.9535 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7323, allocations: 5.406 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00018/0.7325, allocations: 5.719 kB / 0.9535 GB, free: 4.941 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.0002365/0.7327, allocations: 0.6186 MB / 0.9541 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.298e-05/0.7328, allocations: 18.62 kB / 0.9542 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7328, allocations: 0 / 0.9542 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/0.7328, allocations: 8.938 kB / 0.9542 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.733, allocations: 6.875 kB / 0.9542 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008631/0.7339, allocations: 1.348 MB / 0.9555 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.734, allocations: 0.6949 MB / 0.9562 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.734, allocations: 12.89 kB / 0.9562 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.7341, allocations: 23.28 kB / 0.9562 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.7341, allocations: 3.938 kB / 0.9562 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009805/0.7439, allocations: 1.465 MB / 0.9576 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.7441, allocations: 218.5 kB / 0.9578 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.561, allocations: 5.156 kB / 0.9578 GB, free: 1.336 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches