Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.001373/0.001373, allocations: 113 kB / 19.73 MB, free: 2.242 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.001484/0.001484, allocations: 213.6 kB / 23.04 MB, free: 5.074 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.774/2.774, allocations: 476.7 MB / 0.7714 GB, free: 4.234 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_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.002022/0.002022, allocations: 63.02 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3857, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002216/0.388, allocations: 0.8408 MB / 1.285 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001224/0.3881, allocations: 43.78 kB / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.3881, allocations: 0 / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.721e-05/0.3882, allocations: 11.86 kB / 1.285 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.564e-05/0.3883, allocations: 11.81 kB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.473e-05/0.3883, allocations: 19.98 kB / 1.285 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.3884, allocations: 59.84 kB / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.3886, allocations: 39.95 kB / 1.285 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.259e-05/0.3887, allocations: 23.88 kB / 1.285 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.3887, allocations: 35.78 kB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3887, allocations: 8 kB / 1.285 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.3888, allocations: 4 kB / 1.285 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.3888, allocations: 11.94 kB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.3888, allocations: 35.73 kB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.389, allocations: 79.86 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.389, allocations: 0 / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.704e-06/0.389, allocations: 0 / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.389, allocations: 0 / 1.285 GB, free: 10.53 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.0004529/0.3894, allocations: 314.1 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3895, allocations: 12.03 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.388e-05/0.3895, allocations: 192 / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.3895, allocations: 38.75 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.3896, allocations: 8.891 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3898, allocations: 138.3 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3898, allocations: 8.375 kB / 1.286 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.3898, allocations: 8.375 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.39, allocations: 105.9 kB / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.39, allocations: 0 / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.39, allocations: 4 kB / 1.286 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.39, allocations: 4 kB / 1.286 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.38e-05/0.3901, allocations: 31.98 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.3906, allocations: 411.8 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.173e-05/0.3907, allocations: 33.16 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.3907, allocations: 21.84 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-06/0.3907, allocations: 3.938 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3908, allocations: 42.53 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.3908, allocations: 0 / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001818/0.3909, allocations: 53.58 kB / 1.287 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.391, allocations: 85.11 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.3912, allocations: 158.2 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.3912, allocations: 25.7 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.723e-05/0.3913, allocations: 104 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.1e-05/0.3913, allocations: 8.188 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.3913, allocations: 25.66 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3915, allocations: 318.8 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.3915, allocations: 4 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.3915, allocations: 21.72 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.3915, allocations: 25.66 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3915, allocations: 0 / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.16e-05/0.3916, allocations: 61.64 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3917, allocations: 11.94 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3917, allocations: 0 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3917, allocations: 0 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.3917, allocations: 7.938 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3917, allocations: 4 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/0.3918, allocations: 3.953 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.3918, allocations: 0 / 1.287 GB, free: 8.23 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 8.654e-05/0.3919, allocations: 121.9 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.3919, allocations: 11.89 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.3919, allocations: 7.812 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3919, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3919, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3919, allocations: 4.094 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.3923, allocations: 445.8 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3923, allocations: 8.062 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.3924, allocations: 7.984 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3924, allocations: 0 / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3924, allocations: 0 / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3924, allocations: 0 / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3924, allocations: 3.938 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.595e-05/0.3925, allocations: 85.83 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.3925, allocations: 19.86 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.3925, allocations: 4 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.3925, allocations: 0 / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.3926, allocations: 0 / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.3926, allocations: 0 / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.996e-05/0.3927, allocations: 126.1 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3927, allocations: 0 / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001866/0.3928, allocations: 8 kB / 1.288 GB, free: 7.309 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.0004117/0.3933, allocations: 0.6171 MB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.3934, allocations: 12 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3934, allocations: 0 / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.957e-05/0.3934, allocations: 20.14 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.3935, allocations: 9.656 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3948, allocations: 1.325 MB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3951, allocations: 0.6889 MB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.3951, allocations: 16.42 kB / 1.291 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.3952, allocations: 19.44 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.3952, allocations: 4 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.417, allocations: 1.724 MB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.75, allocations: 0 / 1.292 GB, free: 2.875 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.62021023000125]