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.001768/0.001768, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002025/0.002025, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.999/2.999, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 176] 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.002021/0.002021, allocations: 65.56 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3636, allocations: 170 MB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002381/0.366, allocations: 0.7927 MB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001434/0.3661, allocations: 43.78 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.479e-05/0.3662, allocations: 4 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.349e-05/0.3662, allocations: 7.875 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.276e-05/0.3663, allocations: 3.938 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.963e-05/0.3664, allocations: 23.97 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.3665, allocations: 63.78 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.3667, allocations: 35.66 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.037e-05/0.3667, allocations: 31.84 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.511e-05/0.3668, allocations: 23.86 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3668, allocations: 8 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.3668, allocations: 4 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.3669, allocations: 19.92 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.3669, allocations: 27.75 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.3671, allocations: 81.03 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3671, allocations: 0 / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3671, allocations: 0 / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3671, allocations: 0 / 1.285 GB, free: 9.582 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.0005084/0.3676, allocations: 306 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.3676, allocations: 12.03 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.614e-05/0.3677, allocations: 192 / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/0.3677, allocations: 42.73 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.3678, allocations: 12.89 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.368, allocations: 138.4 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.368, allocations: 4.375 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.368, allocations: 8.375 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.3682, allocations: 91.61 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3682, allocations: 0 / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3682, allocations: 15.92 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.3682, allocations: 0 / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.981e-05/0.3683, allocations: 39.92 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.369, allocations: 387.8 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.865e-05/0.369, allocations: 45.34 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.3691, allocations: 13.78 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.3691, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.3691, allocations: 50.42 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3691, allocations: 0 / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001782/0.3693, allocations: 49.59 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.3694, allocations: 85.05 kB / 1.286 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3695, allocations: 158.2 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3695, allocations: 29.95 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.3696, allocations: 112 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.954e-06/0.3696, allocations: 3.953 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.3697, allocations: 17.72 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3698, allocations: 322.8 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.3698, allocations: 4 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.3698, allocations: 21.7 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.3699, allocations: 21.72 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3699, allocations: 0 / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.37e-05/0.37, allocations: 65.59 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.37, allocations: 7.938 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.37, allocations: 0 / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.37, allocations: 0 / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.049e-05/0.3701, allocations: 11.98 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3701, allocations: 0 / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.3701, allocations: 7.953 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.3701, allocations: 0 / 1.287 GB, free: 7.301 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.479e-05/0.3702, allocations: 117.8 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.3703, allocations: 11.95 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.3703, allocations: 19.8 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3703, allocations: 0 / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3703, allocations: 4 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3703, allocations: 0 / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.3708, allocations: 437.8 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3708, allocations: 4 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.3708, allocations: 0 / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3708, allocations: 4 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.3708, allocations: 0 / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3708, allocations: 0 / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3708, allocations: 4.062 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.3709, allocations: 89.81 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.3709, allocations: 7.891 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.371, allocations: 7.938 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.371, allocations: 0 / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.371, allocations: 3.984 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.371, allocations: 4 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.917e-05/0.3711, allocations: 121.5 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3711, allocations: 4 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001886/0.3713, allocations: 7.953 kB / 1.288 GB, free: 6.383 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.0004413/0.3717, allocations: 0.6172 MB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.656e-05/0.3718, allocations: 15.94 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3718, allocations: 0 / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-05/0.3718, allocations: 4 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.372, allocations: 9.375 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.3736, allocations: 1.334 MB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.3737, allocations: 87.62 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.227e-05/0.3737, allocations: 4.438 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/0.3738, allocations: 27.52 kB / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of SimCode: time 1.042e-06/0.3738, allocations: 0 / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.3974, allocations: 1.76 MB / 1.292 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.87, allocations: 7.719 kB / 1.292 GB, free: 2.535 MB / 0.9825 GB " [Timeout remaining time 288] (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: 19.142937280004844]