Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001687/0.001687, 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.001474/0.001474, allocations: 214.2 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.785 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.886/2.886, allocations: 476 MB / 0.7699 GB, free: 4.723 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.From_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_11_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.002133/0.002133, allocations: 66.64 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3059, allocations: 170 MB / 1.283 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002266/0.3081, allocations: 0.7988 MB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001421/0.3083, allocations: 39.78 kB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.3083, allocations: 4 kB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.641e-05/0.3084, allocations: 11.86 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.376e-05/0.3085, allocations: 7.875 kB / 1.283 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.431e-05/0.3085, allocations: 27.92 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.3087, allocations: 55.91 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.3088, allocations: 27.5 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.3089, allocations: 27.86 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.258e-05/0.3089, allocations: 35.72 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.309, allocations: 4 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.309, allocations: 8 kB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.309, allocations: 15.92 kB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.309, allocations: 27.86 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.3092, allocations: 69.34 kB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3092, allocations: 4 kB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3092, allocations: 0 / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3092, allocations: 0 / 1.284 GB, free: 11.2 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.0004419/0.3096, allocations: 310.1 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3097, allocations: 11.97 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.3097, allocations: 42.75 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.3097, allocations: 12.83 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.3099, allocations: 138.3 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.31, allocations: 384 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.31, allocations: 12.38 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3101, allocations: 103.8 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3102, allocations: 3.938 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3102, allocations: 4 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3102, allocations: 0 / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/0.3102, allocations: 35.98 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/0.3108, allocations: 391.8 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.708e-05/0.3109, allocations: 41.2 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.3109, allocations: 21.81 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.3109, allocations: 0 / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.311, allocations: 38.56 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.311, allocations: 0 / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001679/0.3111, allocations: 53.53 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.3112, allocations: 81.09 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3114, allocations: 157.1 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3114, allocations: 29.7 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.3115, allocations: 108 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.3115, allocations: 7.953 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.3115, allocations: 17.7 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3117, allocations: 319.1 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.3117, allocations: 11.98 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.3117, allocations: 17.72 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.692e-05/0.3118, allocations: 29.66 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3118, allocations: 0 / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.873e-05/0.3119, allocations: 53.64 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3119, allocations: 14.75 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3119, allocations: 3.938 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3119, allocations: 0 / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.312, allocations: 12.06 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.312, allocations: 0 / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.312, allocations: 3.953 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.312, allocations: 11.94 kB / 1.286 GB, free: 8.906 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.762e-05/0.3121, allocations: 109.8 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.3121, allocations: 19.88 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.3122, allocations: 3.812 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3122, allocations: 4 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3122, allocations: 0 / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3122, allocations: 3.938 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.3126, allocations: 453.8 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3126, allocations: 0 / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.3126, allocations: 4 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3126, allocations: 0 / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3126, allocations: 7.984 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3126, allocations: 0 / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3126, allocations: 0 / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.835e-05/0.3127, allocations: 77.83 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.3128, allocations: 19.89 kB / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3128, allocations: 8.094 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.3128, allocations: 0 / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.3128, allocations: 0 / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.3128, allocations: 0 / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001049/0.3129, allocations: 121.7 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3129, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001898/0.3131, allocations: 8 kB / 1.287 GB, free: 7.996 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.0004274/0.3135, allocations: 0.6171 MB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.861e-05/0.3136, allocations: 16.03 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3136, allocations: 0 / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.3136, allocations: 7.938 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.3138, allocations: 11.98 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3151, allocations: 1.325 MB / 1.288 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.623e-05/0.3152, allocations: 87.58 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.3153, allocations: 12.67 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.3153, allocations: 23.44 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.3153, allocations: 0 / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.3448, allocations: 2.095 MB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.84, allocations: 6.156 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.80036461679265]