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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 214.8 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.585/1.585, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.8 MB / 0.7715 GB, free: 3.906 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.2 kB / 1.118 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3987, allocations: 169.9 MB / 1.284 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002639/0.4014, allocations: 0.7945 MB / 1.285 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001624/0.4015, allocations: 43.78 kB / 1.285 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.4016, allocations: 4 kB / 1.285 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.53e-05/0.4016, allocations: 11.86 kB / 1.285 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.4018, allocations: 11.88 kB / 1.285 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.946e-05/0.4018, allocations: 15.98 kB / 1.285 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.402, allocations: 63.84 kB / 1.285 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.4021, allocations: 27.97 kB / 1.285 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.043e-05/0.4022, allocations: 31.86 kB / 1.285 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.4023, allocations: 31.78 kB / 1.285 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.4023, allocations: 8 kB / 1.285 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.4023, allocations: 4 kB / 1.285 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.4023, allocations: 19.94 kB / 1.285 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.4024, allocations: 23.8 kB / 1.285 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.4025, allocations: 79.86 kB / 1.285 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.4025, allocations: 0 / 1.285 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4025, allocations: 0 / 1.285 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.4025, allocations: 0 / 1.285 GB, free: 2.191 MB / 0.9825 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.0004888/0.403, allocations: 306 kB / 1.286 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4031, allocations: 12.03 kB / 1.286 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.817e-05/0.4031, allocations: 4.125 kB / 1.286 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.4031, allocations: 38.75 kB / 1.286 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.4032, allocations: 16.89 kB / 1.286 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.4034, allocations: 134.4 kB / 1.286 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4034, allocations: 4.375 kB / 1.286 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.4034, allocations: 8.375 kB / 1.286 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.4036, allocations: 101.7 kB / 1.286 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4036, allocations: 0 / 1.286 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.4036, allocations: 4 kB / 1.286 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4036, allocations: 0 / 1.286 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.986e-05/0.4037, allocations: 39.98 kB / 1.286 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.4043, allocations: 395.8 kB / 1.286 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.4044, allocations: 41.22 kB / 1.286 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.4044, allocations: 21.81 kB / 1.286 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.4044, allocations: 0 / 1.286 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.4045, allocations: 38.5 kB / 1.286 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.4045, allocations: 0 / 1.286 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002264/0.4047, allocations: 53.58 kB / 1.286 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.4047, allocations: 81.11 kB / 1.286 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.4049, allocations: 161.3 kB / 1.287 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.4049, allocations: 37.64 kB / 1.287 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.405, allocations: 108 kB / 1.287 GB, free: 432 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.937e-06/0.405, allocations: 3.953 kB / 1.287 GB, free: 428 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.4051, allocations: 17.72 kB / 1.287 GB, free: 404 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4052, allocations: 322.8 kB / 1.287 GB, free: 72 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.4052, allocations: 4 kB / 1.287 GB, free: 68 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.4052, allocations: 17.72 kB / 1.287 GB, free: 44 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.676e-05/0.4053, allocations: 29.66 kB / 1.287 GB, free: 8 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4053, allocations: 0 / 1.287 GB, free: 8 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001132/0.4054, allocations: 61.64 kB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4054, allocations: 11.88 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4054, allocations: 0 / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4054, allocations: 96 / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.4055, allocations: 8 kB / 1.287 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4055, allocations: 0 / 1.287 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/0.4056, allocations: 11.92 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.4056, allocations: 4 kB / 1.287 GB, free: 15.91 MB / 0.9981 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.369e-05/0.4057, allocations: 113.8 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.4057, allocations: 15.95 kB / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.4057, allocations: 11.81 kB / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4057, allocations: 0 / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4057, allocations: 0 / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4057, allocations: 0 / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.4062, allocations: 441.8 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4062, allocations: 0 / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.982e-05/0.4062, allocations: 4 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4062, allocations: 0 / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4062, allocations: 4 kB / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4062, allocations: 4.062 kB / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4062, allocations: 0 / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.4063, allocations: 85.81 kB / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.4063, allocations: 7.953 kB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.4064, allocations: 4 kB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.625e-05/0.4064, allocations: 4 kB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.4064, allocations: 0 / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.4064, allocations: 7.938 kB / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000104/0.4065, allocations: 119.2 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4065, allocations: 0 / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001928/0.4067, allocations: 11.95 kB / 1.288 GB, free: 15 MB / 0.9981 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.0004302/0.4071, allocations: 0.6249 MB / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.752e-05/0.4072, allocations: 15.98 kB / 1.289 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4072, allocations: 0 / 1.289 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.4072, allocations: 7.938 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.4074, allocations: 10.06 kB / 1.289 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.4089, allocations: 1.333 MB / 1.29 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.79e-05/0.4089, allocations: 87.08 kB / 1.29 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.409, allocations: 8.422 kB / 1.29 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.409, allocations: 19.44 kB / 1.29 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.409, allocations: 0 / 1.29 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.4322, allocations: 1.763 MB / 1.292 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.02, allocations: 12.84 kB / 1.292 GB, free: 11.14 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 18.851298794033937]