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.001443/0.001443, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00162/0.00162, allocations: 215.1 kB / 22.24 MB, free: 5.262 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.789 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.824/2.824, allocations: 476 MB / 0.7699 GB, free: 4.949 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="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: 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.002135/0.002135, allocations: 68.72 kB / 1.117 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3417, allocations: 170 MB / 1.283 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002715/0.3444, allocations: 0.8026 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001805/0.3446, allocations: 39.78 kB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.107e-05/0.3447, allocations: 4 kB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.674e-05/0.3448, allocations: 11.86 kB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.3449, allocations: 11.88 kB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.679e-05/0.3449, allocations: 15.98 kB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3451, allocations: 63.84 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.3453, allocations: 33.64 kB / 1.284 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.3453, allocations: 27.88 kB / 1.284 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.3454, allocations: 27.78 kB / 1.284 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3454, allocations: 4 kB / 1.284 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.3455, allocations: 8 kB / 1.284 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.3455, allocations: 19.88 kB / 1.284 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.3455, allocations: 27.8 kB / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.3457, allocations: 75.16 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3457, allocations: 0 / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3457, allocations: 0 / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3457, allocations: 4 kB / 1.284 GB, free: 11.39 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.0004744/0.3462, allocations: 314.1 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3462, allocations: 12.03 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.3463, allocations: 34.75 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.3463, allocations: 12.83 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3465, allocations: 134.4 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3465, allocations: 8.375 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.3465, allocations: 4.375 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3467, allocations: 99.8 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3467, allocations: 3.938 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3467, allocations: 4 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3467, allocations: 0 / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.3468, allocations: 35.98 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.3474, allocations: 399.8 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.375e-05/0.3474, allocations: 33.16 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.3475, allocations: 17.84 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.3475, allocations: 4.094 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.3475, allocations: 34.5 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3475, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002017/0.3477, allocations: 61.52 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.3478, allocations: 81.11 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.348, allocations: 160.9 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.348, allocations: 25.7 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.3481, allocations: 115.9 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.3481, allocations: 3.953 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.3481, allocations: 13.72 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.3483, allocations: 322.8 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.3484, allocations: 8 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.962e-05/0.3484, allocations: 21.97 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.026e-05/0.3484, allocations: 25.66 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3484, allocations: 0 / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.171e-05/0.3485, allocations: 57.64 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3486, allocations: 10.75 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3486, allocations: 0 / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3486, allocations: 4 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.3486, allocations: 15.88 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3487, allocations: 64 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.3487, allocations: 11.95 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3487, allocations: 3.984 kB / 1.286 GB, free: 9.105 MB / 0.9825 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 0.0001058/0.3488, allocations: 113.8 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.3488, allocations: 11.89 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.3489, allocations: 7.812 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3489, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3489, allocations: 4 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3489, allocations: 0 / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.3494, allocations: 445.8 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3494, allocations: 8.047 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.3494, allocations: 4 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3494, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3494, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3494, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3494, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.3495, allocations: 81.83 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.3495, allocations: 19.98 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3496, allocations: 3.984 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.3496, allocations: 0 / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-06/0.3496, allocations: 4.031 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3496, allocations: 4 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.743e-05/0.3497, allocations: 123.2 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3497, allocations: 0 / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001792/0.3499, allocations: 4 kB / 1.287 GB, free: 8.199 MB / 0.9825 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.000446/0.3503, allocations: 0.6191 MB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.589e-05/0.3504, allocations: 19.98 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3504, allocations: 0 / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.3504, allocations: 12.09 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.3506, allocations: 4 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.3519, allocations: 1.323 MB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.783e-05/0.3519, allocations: 83.64 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.352, allocations: 8.422 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.352, allocations: 23.56 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.352, allocations: 4 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.3816, allocations: 2.097 MB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.93, allocations: 5.484 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB " [Timeout remaining time 287] (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.640127100981772]