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.001196/0.001196, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.311/2.311, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 63.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/0.6024, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001749/0.6042, allocations: 0.8142 MB / 0.9505 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.237e-05/0.6043, allocations: 49.62 kB / 0.9506 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.6044, allocations: 1.438 kB / 0.9506 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.6044, allocations: 11.86 kB / 0.9506 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.447e-05/0.6045, allocations: 9.25 kB / 0.9506 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.884e-05/0.6045, allocations: 18.73 kB / 0.9506 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.301e-05/0.6046, allocations: 60.09 kB / 0.9507 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.6048, allocations: 43.89 kB / 0.9507 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.058e-05/0.6048, allocations: 24.14 kB / 0.9507 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.6049, allocations: 32.77 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.6049, allocations: 5.156 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.6049, allocations: 6.312 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.6049, allocations: 22.42 kB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.605, allocations: 26.12 kB / 0.9508 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.202e-05/0.6051, allocations: 74.83 kB / 0.9509 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6051, allocations: 5.172 kB / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6051, allocations: 0 / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.6051, allocations: 0 / 0.9509 GB, free: 8.27 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.0003145/0.6054, allocations: 378.9 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.6054, allocations: 9.594 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.561e-05/0.6055, allocations: 41.73 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.6055, allocations: 20.89 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.6056, allocations: 190.6 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.6057, allocations: 6.906 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.6057, allocations: 9.438 kB / 0.9515 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.6058, allocations: 89.91 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6058, allocations: 3.938 kB / 0.9516 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.6058, allocations: 5.938 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.6058, allocations: 1.625 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.664e-05/0.6059, allocations: 42.98 kB / 0.9517 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.6063, allocations: 433.3 kB / 0.9521 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.24e-05/0.6064, allocations: 41.66 kB / 0.9521 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.6064, allocations: 19.66 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.6064, allocations: 0 / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.6064, allocations: 40.55 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.6064, allocations: 0 / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001568/0.6066, allocations: 54.61 kB / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.6066, allocations: 82.39 kB / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.6067, allocations: 163.2 kB / 0.9525 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/0.6068, allocations: 29.7 kB / 0.9525 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.6068, allocations: 112 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-06/0.6068, allocations: 5.281 kB / 0.9526 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.6068, allocations: 17.94 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.6069, allocations: 324.2 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.6069, allocations: 4.25 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.785e-05/0.6069, allocations: 27.2 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.533e-05/0.607, allocations: 25 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.607, allocations: 1.469 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.861e-05/0.6071, allocations: 59.48 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.6071, allocations: 8.688 kB / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.6071, allocations: 0 / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6071, allocations: 5.078 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.546e-05/0.6072, allocations: 9.312 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.6072, allocations: 0.9688 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.6072, allocations: 1.938 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.6072, allocations: 2.125 kB / 0.9531 GB, free: 6.047 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.452e-05/0.6073, allocations: 117 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.6073, allocations: 12.16 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.6073, allocations: 14.61 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6073, allocations: 1.062 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6073, allocations: 0 / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6074, allocations: 4.875 kB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.6076, allocations: 470.9 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6076, allocations: 3.938 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.6076, allocations: 3.719 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6076, allocations: 0 / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.6077, allocations: 1.656 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6077, allocations: 3.984 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6077, allocations: 4.906 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.774e-05/0.6077, allocations: 82.95 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.6078, allocations: 87.52 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.6078, allocations: 5.234 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.6078, allocations: 9.203 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-06/0.6078, allocations: 1.312 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.6078, allocations: 9.219 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.6079, allocations: 124.3 kB / 0.954 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6079, allocations: 0 / 0.954 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001828/0.6081, allocations: 6.594 kB / 0.954 GB, free: 5.082 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.0002224/0.6083, allocations: 0.6172 MB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.876e-05/0.6084, allocations: 18.66 kB / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6084, allocations: 0 / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.027e-05/0.6084, allocations: 3.844 kB / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.6086, allocations: 9.406 kB / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007857/0.6094, allocations: 1.327 MB / 0.9559 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.857e-05/0.6095, allocations: 0.6945 MB / 0.9566 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.6095, allocations: 12.7 kB / 0.9566 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.6096, allocations: 23.47 kB / 0.9566 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6096, allocations: 0 / 0.9566 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.6262, allocations: 1.539 MB / 0.9581 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/7.449, allocations: 9.781 kB / 0.9581 GB, free: 1.648 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