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.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.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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001205/0.001205, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.274/2.274, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 68.12 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6092/0.6107, allocations: 140.4 MB / 0.9491 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.0017/0.6124, allocations: 0.8802 MB / 0.9499 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.222e-05/0.6125, allocations: 37.61 kB / 0.9499 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.6125, allocations: 5.719 kB / 0.95 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.6126, allocations: 3.938 kB / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.879e-05/0.6127, allocations: 7.969 kB / 0.95 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.689e-05/0.6127, allocations: 20.28 kB / 0.95 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.822e-05/0.6128, allocations: 54.5 kB / 0.95 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.6129, allocations: 38.47 kB / 0.9501 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.635e-05/0.6129, allocations: 24.02 kB / 0.9501 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.613, allocations: 27.86 kB / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.613, allocations: 4.125 kB / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.613, allocations: 4.125 kB / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.6131, allocations: 18.67 kB / 0.9501 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.6131, allocations: 30.62 kB / 0.9502 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.996e-05/0.6132, allocations: 72.94 kB / 0.9502 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6132, allocations: 1.375 kB / 0.9502 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6132, allocations: 0 / 0.9502 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.6132, allocations: 3.938 kB / 0.9503 GB, free: 8.258 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.0002835/0.6135, allocations: 382.5 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.6135, allocations: 9.625 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.699e-05/0.6135, allocations: 41.48 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.6136, allocations: 12.97 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.6137, allocations: 187.2 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.6137, allocations: 7.125 kB / 0.9509 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.6137, allocations: 9.812 kB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.6139, allocations: 94.56 kB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.6139, allocations: 7.922 kB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.6139, allocations: 1.375 kB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.6139, allocations: 2.75 kB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.611e-05/0.614, allocations: 43.17 kB / 0.951 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.6144, allocations: 432.6 kB / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.692e-05/0.6144, allocations: 41.31 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.6144, allocations: 23.2 kB / 0.9515 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.6145, allocations: 5.375 kB / 0.9515 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.16e-05/0.6145, allocations: 31.94 kB / 0.9515 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6145, allocations: 0 / 0.9515 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001414/0.6146, allocations: 55.23 kB / 0.9516 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.6147, allocations: 81.36 kB / 0.9517 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.6148, allocations: 163.4 kB / 0.9518 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.6148, allocations: 27.08 kB / 0.9518 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.6148, allocations: 111.9 kB / 0.9519 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.221e-06/0.6148, allocations: 5.281 kB / 0.9519 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.6149, allocations: 16.47 kB / 0.952 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.944e-05/0.6149, allocations: 321.6 kB / 0.9523 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.6149, allocations: 2.875 kB / 0.9523 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.999e-05/0.6149, allocations: 31.3 kB / 0.9523 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.615, allocations: 25.47 kB / 0.9523 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.615, allocations: 5.375 kB / 0.9523 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.251e-05/0.6151, allocations: 55.02 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.6151, allocations: 12.02 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.6151, allocations: 1.562 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.6151, allocations: 4.062 kB / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.6152, allocations: 6.438 kB / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.6152, allocations: 0 / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.6152, allocations: 2.5 kB / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.6152, allocations: 1.094 kB / 0.9524 GB, free: 6.043 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.521e-05/0.6153, allocations: 114.1 kB / 0.9525 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.6153, allocations: 16.12 kB / 0.9525 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.99e-05/0.6153, allocations: 14.55 kB / 0.9525 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6153, allocations: 1.344 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.6154, allocations: 4 kB / 0.9526 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6154, allocations: 1.062 kB / 0.9526 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.6156, allocations: 473.7 kB / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6156, allocations: 1.125 kB / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.6157, allocations: 2.562 kB / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.6157, allocations: 1.406 kB / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.6157, allocations: 0 / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6157, allocations: 5.156 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6157, allocations: 5.219 kB / 0.953 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.612e-05/0.6157, allocations: 77.77 kB / 0.9531 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.6158, allocations: 96.91 kB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.6158, allocations: 1.688 kB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/0.6158, allocations: 0 / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.6158, allocations: 5.062 kB / 0.9532 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.6158, allocations: 1.375 kB / 0.9532 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.353e-05/0.6159, allocations: 121.2 kB / 0.9533 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6159, allocations: 3.938 kB / 0.9533 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001859/0.6161, allocations: 6.406 kB / 0.9533 GB, free: 5.09 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.0002036/0.6163, allocations: 0.6239 MB / 0.9539 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.632e-05/0.6164, allocations: 18.91 kB / 0.9539 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6164, allocations: 0 / 0.9539 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-06/0.6164, allocations: 4.031 kB / 0.954 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.6166, allocations: 8.766 kB / 0.954 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.6174, allocations: 1.352 MB / 0.9553 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.14e-05/0.6175, allocations: 0.6939 MB / 0.956 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.6175, allocations: 9.266 kB / 0.956 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.6176, allocations: 23.25 kB / 0.956 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6176, allocations: 0 / 0.956 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01029/0.6279, allocations: 1.422 MB / 0.9574 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.6281, allocations: 216.6 kB / 0.9576 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.205, allocations: 5.766 kB / 0.9576 GB, free: 1.496 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