Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 110 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 476.7 MB / 0.7611 GB, free: 11.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 71.89 kB / 1.104 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9196/0.9217, allocations: 168.7 MB / 1.269 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002383/0.924, allocations: 0.834 MB / 1.27 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001341/0.9242, allocations: 39.78 kB / 1.27 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.9242, allocations: 4 kB / 1.27 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/0.9243, allocations: 11.86 kB / 1.27 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.785e-05/0.9244, allocations: 15.88 kB / 1.27 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.309e-05/0.9244, allocations: 15.98 kB / 1.27 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.9246, allocations: 63.84 kB / 1.27 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.9247, allocations: 35.91 kB / 1.27 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.381e-05/0.9248, allocations: 23.88 kB / 1.27 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.9249, allocations: 35.78 kB / 1.27 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.9249, allocations: 4 kB / 1.27 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.324e-05/0.9249, allocations: 8 kB / 1.27 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.9249, allocations: 11.94 kB / 1.27 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.925, allocations: 31.8 kB / 1.27 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.9251, allocations: 77.47 kB / 1.27 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9251, allocations: 0 / 1.27 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9251, allocations: 0 / 1.27 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.9251, allocations: 7.938 kB / 1.27 GB, free: 3.973 MB / 0.9669 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.0005298/0.9257, allocations: 377.2 kB / 1.27 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.9257, allocations: 12.03 kB / 1.27 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.9258, allocations: 46.62 kB / 1.27 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.9258, allocations: 20.83 kB / 1.27 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.9261, allocations: 196.2 kB / 1.271 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.9261, allocations: 4.375 kB / 1.271 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.9261, allocations: 8.375 kB / 1.271 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.9263, allocations: 91.89 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.9263, allocations: 3.938 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.9263, allocations: 4 kB / 1.271 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.9263, allocations: 0 / 1.271 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.868e-05/0.9264, allocations: 43.95 kB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006973/0.9271, allocations: 440.7 kB / 1.271 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.155e-05/0.9272, allocations: 37.16 kB / 1.271 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.9272, allocations: 21.94 kB / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.9272, allocations: 7.938 kB / 1.271 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.9273, allocations: 30.56 kB / 1.271 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9273, allocations: 0 / 1.271 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001923/0.9275, allocations: 61.52 kB / 1.271 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.9275, allocations: 81.11 kB / 1.271 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.9278, allocations: 158.1 kB / 1.272 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.9278, allocations: 25.95 kB / 1.272 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.9279, allocations: 108.1 kB / 1.272 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.9279, allocations: 3.953 kB / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.928, allocations: 21.67 kB / 1.272 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002534/0.9282, allocations: 322.8 kB / 1.272 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.9282, allocations: 0 / 1.272 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.9283, allocations: 21.72 kB / 1.272 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.924e-05/0.9283, allocations: 33.64 kB / 1.272 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9283, allocations: 0 / 1.272 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.502e-05/0.9284, allocations: 53.66 kB / 1.272 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.9284, allocations: 11.94 kB / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9284, allocations: 0 / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.9284, allocations: 0 / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.549e-05/0.9285, allocations: 15.86 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.9285, allocations: 4 kB / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.9285, allocations: 4 kB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.9285, allocations: 4 kB / 1.272 GB, free: 1.473 MB / 0.9669 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 9.51e-05/0.9286, allocations: 113.8 kB / 1.272 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.9287, allocations: 15.83 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.9287, allocations: 11.88 kB / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.9287, allocations: 0 / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.9287, allocations: 7.984 kB / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.9287, allocations: 0 / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.9292, allocations: 474.7 kB / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9292, allocations: 0 / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.9292, allocations: 4 kB / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.9292, allocations: 0 / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.9292, allocations: 0 / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.9292, allocations: 4 kB / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9292, allocations: 0 / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.9294, allocations: 89.88 kB / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.9294, allocations: 85.06 kB / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.9294, allocations: 4 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.9295, allocations: 0 / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.9295, allocations: 3.984 kB / 1.273 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.9295, allocations: 0 / 1.273 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001031/0.9296, allocations: 123.2 kB / 1.273 GB, free: 448 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.9296, allocations: 0 / 1.273 GB, free: 448 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001952/0.9298, allocations: 12.03 kB / 1.273 GB, free: 436 kB / 0.9669 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.0005221/0.9303, allocations: 0.6176 MB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.206e-05/0.9304, allocations: 16.09 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.9304, allocations: 0 / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.9304, allocations: 7.938 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.9306, allocations: 11.91 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.9322, allocations: 1.327 MB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.9325, allocations: 0.6924 MB / 1.276 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.9326, allocations: 12.5 kB / 1.276 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.9326, allocations: 31.36 kB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.9326, allocations: 3.938 kB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/0.978, allocations: 1.603 MB / 1.277 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/9.387, allocations: 15.2 kB / 1.277 GB, free: 12.05 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.587503242772073]