Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001684/0.001684, allocations: 103.8 kB / 16.45 MB, free: 6.504 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.002062/0.002062, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.534/1.534, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.272/3.272, allocations: 0.49 GB / 0.7916 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.002044/0.002044, allocations: 67.22 kB / 1.149 GB, free: 26.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3542, allocations: 176.1 MB / 1.321 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002441/0.3566, allocations: 0.8286 MB / 1.322 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001488/0.3568, allocations: 43.78 kB / 1.322 GB, free: 2.598 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.3569, allocations: 0 / 1.322 GB, free: 2.598 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.864e-05/0.3569, allocations: 11.86 kB / 1.322 GB, free: 2.586 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.505e-05/0.357, allocations: 7.875 kB / 1.322 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.176e-05/0.3571, allocations: 19.98 kB / 1.322 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.3572, allocations: 59.84 kB / 1.322 GB, free: 2.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.3573, allocations: 39.91 kB / 1.322 GB, free: 2.461 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3574, allocations: 27.81 kB / 1.322 GB, free: 2.434 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/0.3575, allocations: 27.84 kB / 1.322 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.3575, allocations: 8 kB / 1.322 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-06/0.3575, allocations: 4 kB / 1.322 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.3575, allocations: 19.92 kB / 1.322 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.3576, allocations: 35.73 kB / 1.322 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.3577, allocations: 79.81 kB / 1.322 GB, free: 2.262 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3577, allocations: 0 / 1.322 GB, free: 2.262 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3577, allocations: 0 / 1.322 GB, free: 2.262 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3578, allocations: 0 / 1.322 GB, free: 2.262 MB / 1.014 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.0007293/0.3585, allocations: 391.1 kB / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3585, allocations: 11.98 kB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.3586, allocations: 38.75 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.3586, allocations: 8.891 kB / 1.322 GB, free: 1.762 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.3588, allocations: 196.2 kB / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3589, allocations: 8.312 kB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.3589, allocations: 8.375 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.359, allocations: 95.86 kB / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3591, allocations: 3.938 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3591, allocations: 4 kB / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3591, allocations: 4 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.318e-05/0.3592, allocations: 39.92 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.3598, allocations: 432.7 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.07e-05/0.3599, allocations: 45.25 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.3599, allocations: 17.78 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.3599, allocations: 0 / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3599, allocations: 34.56 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.3599, allocations: 0 / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.000192/0.3601, allocations: 65.47 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.3602, allocations: 77.11 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3604, allocations: 160.3 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3604, allocations: 33.58 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.3605, allocations: 100.1 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.3605, allocations: 11.89 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.3605, allocations: 17.72 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3607, allocations: 323.1 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.3607, allocations: 4 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/0.3607, allocations: 25.64 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.3609, allocations: 29.7 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3609, allocations: 0 / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.563e-05/0.361, allocations: 57.59 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.361, allocations: 12 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.361, allocations: 0 / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.361, allocations: 4 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.3611, allocations: 7.984 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3611, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.3611, allocations: 7.953 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.3612, allocations: 0 / 1.324 GB, free: 15.76 MB / 1.029 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.0001032/0.3613, allocations: 113.8 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.3613, allocations: 11.89 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.3613, allocations: 15.88 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3613, allocations: 0 / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3614, allocations: 0 / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3614, allocations: 3.984 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.3619, allocations: 474.8 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3619, allocations: 0 / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.3619, allocations: 4 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.3619, allocations: 4.062 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.3619, allocations: 4 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3619, allocations: 3.938 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3619, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.362, allocations: 81.83 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.3621, allocations: 85.06 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3622, allocations: 4 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.3622, allocations: 8.031 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.3622, allocations: 7.984 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.3622, allocations: 3.938 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.854e-05/0.3623, allocations: 117.3 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3623, allocations: 0 / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001864/0.3625, allocations: 11.94 kB / 1.325 GB, free: 14.71 MB / 1.029 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.0006671/0.3632, allocations: 0.6171 MB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.675e-05/0.3633, allocations: 27.86 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3633, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.06e-05/0.3633, allocations: 4 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.3634, allocations: 9.719 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3648, allocations: 1.33 MB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.3652, allocations: 0.6924 MB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.4e-05/0.3652, allocations: 8.422 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.3652, allocations: 27.42 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3652, allocations: 0 / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.3961, allocations: 1.581 MB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.463, allocations: 8.75 kB / 1.329 GB, free: 10.34 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.30545702809468]