Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0014/0.0014, 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.001729/0.001729, allocations: 211.5 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.332/3.332, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.002047/0.002047, allocations: 66.94 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.37, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002382/0.3724, allocations: 0.7984 MB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001774/0.3725, allocations: 39.8 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.442e-05/0.3726, allocations: 4 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.777e-05/0.3727, allocations: 11.86 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.15e-05/0.3728, allocations: 3.938 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.583e-05/0.3728, allocations: 23.98 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.373, allocations: 71.75 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.3731, allocations: 23.98 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.3732, allocations: 27.88 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.3732, allocations: 27.78 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3732, allocations: 4 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.3732, allocations: 8 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.3733, allocations: 11.92 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.3733, allocations: 23.88 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.3735, allocations: 83.8 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3735, allocations: 4 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3735, allocations: 3.938 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3735, allocations: 0 / 1.365 GB, free: 12.9 MB / 1.061 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.0004607/0.3739, allocations: 302 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.374, allocations: 8.031 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.374, allocations: 38.75 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.3741, allocations: 16.83 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.3743, allocations: 142.3 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3743, allocations: 4.375 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.3743, allocations: 8.375 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3745, allocations: 94.83 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3745, allocations: 3.938 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3745, allocations: 8 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3745, allocations: 0 / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.154e-05/0.3746, allocations: 39.92 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.3752, allocations: 391.8 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/0.3752, allocations: 41.34 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.3753, allocations: 13.78 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-06/0.3753, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3753, allocations: 42.56 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3753, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001721/0.3755, allocations: 57.52 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.3755, allocations: 81.11 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3757, allocations: 164.2 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.3757, allocations: 25.7 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.3758, allocations: 108 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.3758, allocations: 3.953 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.3759, allocations: 17.72 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.376, allocations: 323.1 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.376, allocations: 8 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.3761, allocations: 17.72 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.457e-05/0.3761, allocations: 25.7 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3761, allocations: 0 / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001049/0.3762, allocations: 61.59 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3762, allocations: 7.938 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3762, allocations: 0 / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3763, allocations: 96 / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.3763, allocations: 20.05 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3763, allocations: 3.984 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.3764, allocations: 4 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.3764, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 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 9.775e-05/0.3765, allocations: 130.2 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.3765, allocations: 15.84 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.3765, allocations: 11.81 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3765, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3765, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3765, allocations: 3.984 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.377, allocations: 437.9 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.377, allocations: 4 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.377, allocations: 0 / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.377, allocations: 4 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.377, allocations: 0 / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.377, allocations: 0 / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.377, allocations: 0 / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.805e-05/0.3771, allocations: 85.88 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.3771, allocations: 3.953 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.3771, allocations: 4.094 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.086e-05/0.3772, allocations: 4 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.3772, allocations: 3.938 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3772, allocations: 8 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.41e-05/0.3773, allocations: 116.5 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3773, allocations: 4 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001853/0.3775, allocations: 4 kB / 1.367 GB, free: 9.715 MB / 1.061 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.0004298/0.3779, allocations: 0.6171 MB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.819e-05/0.378, allocations: 23.95 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.378, allocations: 0 / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/0.378, allocations: 4 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.3781, allocations: 8 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3795, allocations: 1.326 MB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.641e-05/0.3796, allocations: 83.38 kB / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.539e-05/0.3796, allocations: 12.42 kB / 1.369 GB, free: 7.492 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.3797, allocations: 23.42 kB / 1.369 GB, free: 7.469 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.3797, allocations: 0 / 1.369 GB, free: 7.469 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.4079, allocations: 2.113 MB / 1.371 GB, free: 5.488 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.75, allocations: 4 kB / 1.371 GB, free: 5.484 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.67672244179994]