Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 104.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.231/3.231, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 68.52 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.371, allocations: 173.9 MB / 1.304 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.003464/0.3745, allocations: 0.8318 MB / 1.305 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001818/0.3746, allocations: 35.88 kB / 1.305 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.3747, allocations: 0 / 1.305 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.481e-05/0.3748, allocations: 11.86 kB / 1.305 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.3749, allocations: 15.86 kB / 1.305 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.941e-05/0.375, allocations: 19.92 kB / 1.305 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.3752, allocations: 59.89 kB / 1.305 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.3754, allocations: 31.98 kB / 1.305 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.3754, allocations: 27.81 kB / 1.305 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.345e-05/0.3755, allocations: 31.78 kB / 1.305 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.3756, allocations: 4 kB / 1.305 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.777e-05/0.3756, allocations: 12 kB / 1.305 GB, free: 492 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.3756, allocations: 11.92 kB / 1.305 GB, free: 480 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.732e-05/0.3757, allocations: 35.8 kB / 1.305 GB, free: 444 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.3759, allocations: 79.81 kB / 1.305 GB, free: 364 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3759, allocations: 0 / 1.305 GB, free: 364 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3759, allocations: 0 / 1.305 GB, free: 364 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.3759, allocations: 0 / 1.305 GB, free: 364 kB / 0.9981 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.0007504/0.3766, allocations: 387.1 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.3767, allocations: 8.922 kB / 1.306 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.403e-05/0.3768, allocations: 46.73 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.3768, allocations: 8.891 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.3771, allocations: 188.2 kB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.3772, allocations: 12.31 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.3772, allocations: 12.31 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.3774, allocations: 89.67 kB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.3775, allocations: 7.875 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.3775, allocations: 7.984 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.3775, allocations: 11.98 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.3776, allocations: 35.92 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009535/0.3786, allocations: 432.8 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.792e-05/0.3787, allocations: 33.19 kB / 1.306 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.75e-05/0.3788, allocations: 25.84 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.3788, allocations: 0 / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.3788, allocations: 34.55 kB / 1.306 GB, free: 14.85 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/0.3788, allocations: 0 / 1.306 GB, free: 14.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002957/0.3791, allocations: 57.53 kB / 1.306 GB, free: 14.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.033e-05/0.3792, allocations: 81.36 kB / 1.307 GB, free: 14.69 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.3795, allocations: 158.2 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.3795, allocations: 25.7 kB / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3796, allocations: 112 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.3796, allocations: 3.953 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.3797, allocations: 17.72 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002374/0.3799, allocations: 318.8 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.38, allocations: 8 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-05/0.38, allocations: 25.66 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.617e-05/0.3801, allocations: 25.7 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3801, allocations: 0 / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001562/0.3803, allocations: 57.59 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3803, allocations: 11.94 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3803, allocations: 0 / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3803, allocations: 64 / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/0.3804, allocations: 15.98 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3804, allocations: 0 / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.3805, allocations: 3.953 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.3805, allocations: 4 kB / 1.307 GB, free: 13.86 MB / 1.014 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.0001372/0.3806, allocations: 117.8 kB / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.3807, allocations: 11.89 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.3807, allocations: 7.859 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.3807, allocations: 4 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3808, allocations: 4 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3808, allocations: 7.938 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000703/0.3815, allocations: 470.8 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3815, allocations: 3.938 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.3815, allocations: 4 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3815, allocations: 0 / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3815, allocations: 0 / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.3815, allocations: 3.938 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.3815, allocations: 8.062 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.3817, allocations: 81.88 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.3818, allocations: 85 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.3818, allocations: 4 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.3819, allocations: 3.984 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.3819, allocations: 0 / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3819, allocations: 4.031 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001609/0.382, allocations: 121.1 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.382, allocations: 0 / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003714/0.3824, allocations: 15.95 kB / 1.308 GB, free: 12.81 MB / 1.014 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.0006872/0.3831, allocations: 0.6171 MB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.3832, allocations: 15.94 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3832, allocations: 0 / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.954e-05/0.3833, allocations: 8 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3836, allocations: 8 kB / 1.309 GB, free: 12.13 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.3856, allocations: 1.336 MB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.3861, allocations: 0.6928 MB / 1.311 GB, free: 9.977 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.004e-05/0.3861, allocations: 4.438 kB / 1.311 GB, free: 9.973 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.3862, allocations: 27.42 kB / 1.311 GB, free: 9.945 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/0.3862, allocations: 0 / 1.311 GB, free: 9.945 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.4145, allocations: 1.593 MB / 1.312 GB, free: 8.461 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.513, allocations: 15.12 kB / 1.312 GB, free: 8.449 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.328127946704626]